Reacted on -Wsign-compare warnings of gcc

This commit is contained in:
2011-05-09 18:12:16 +00:00
parent 042879fd59
commit ebbdcfdef8
14 changed files with 52 additions and 48 deletions

View File

@ -95,7 +95,7 @@ int Exprnode_new(struct ExprnodE **fnode, struct FindjoB *job,
*fnode= n= TSOB_FELD(struct ExprnodE,1);
if(n == NULL)
return(-1);
for(i= 0; i < sizeof(n->origin); i++)
for(i= 0; i < (int) sizeof(n->origin); i++)
n->origin[i]= 0;
strncpy(n->origin, origin, sizeof(n->origin) - 1);
n->up= up;