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

Compile fixes

parent 3148ff0f
......@@ -469,7 +469,7 @@ int main(int argc, char* argv[])
{
remtrans_item* remtrans;
unsigned char id[32];
unsigned char pname[32];
unsigned char pname[80];
pwr_tStatus sts;
int i;
float time_since_scan = 0.0;
......
......@@ -1829,6 +1829,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
found = 1;
break;
}
sts = ldh_GetNextSibling(ldhses, volobjid, &volobjid);
}
if (!found) {
char msg[200];
......
......@@ -3639,7 +3639,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list,
Graph* graph;
int type;
grow_tObject o;
char text[200];
char text[K_STRING_SIZE];
if (arg_count != 1)
return CCM__ARGMISM;
......@@ -3653,7 +3653,7 @@ static int graph_getobjecttext_func(void* filectx, ccm_sArg* arg_list,
type = grow_GetObjectType(o);
if (type == glow_eObjectType_GrowText) {
grow_GetObjectText(o, text, sizeof(text));
strncpy(return_string, text, sizeof(text));
strncpy(return_string, text, sizeof(K_STRING_SIZE));
} else
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