Commit e27cefe2 authored by Claes Sjöfors's avatar Claes Sjöfors

Compile fixes

parent a3d8afb0
...@@ -469,7 +469,7 @@ int main(int argc, char* argv[]) ...@@ -469,7 +469,7 @@ int main(int argc, char* argv[])
{ {
remtrans_item* remtrans; remtrans_item* remtrans;
unsigned char id[32]; unsigned char id[32];
unsigned char pname[32]; unsigned char pname[80];
pwr_tStatus sts; pwr_tStatus sts;
int i; int i;
float time_since_scan = 0.0; float time_since_scan = 0.0;
......
...@@ -1829,6 +1829,7 @@ pwr_tStatus lfu_SaveDirectoryVolume( ...@@ -1829,6 +1829,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
found = 1; found = 1;
break; break;
} }
sts = ldh_GetNextSibling(ldhses, volobjid, &volobjid);
} }
if (!found) { if (!found) {
char msg[200]; char msg[200];
......
...@@ -3639,7 +3639,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list, ...@@ -3639,7 +3639,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list,
Graph* graph; Graph* graph;
int type; int type;
grow_tObject o; grow_tObject o;
char text[200]; char text[K_STRING_SIZE];
if (arg_count != 1) if (arg_count != 1)
return CCM__ARGMISM; return CCM__ARGMISM;
...@@ -3653,7 +3653,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list, ...@@ -3653,7 +3653,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list,
type = grow_GetObjectType(o); type = grow_GetObjectType(o);
if (type == glow_eObjectType_GrowText) { if (type == glow_eObjectType_GrowText) {
grow_GetObjectText(o, text, sizeof(text)); grow_GetObjectText(o, text, sizeof(text));
strncpy(return_string, text, sizeof(text)); strncpy(return_string, text, sizeof(K_STRING_SIZE));
} else } else
strcpy(return_string, ""); strcpy(return_string, "");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment