Loading toolbox/insmod.c +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ int insmod_main(int argc, char **argv) char *ptr = opts; for (i = 2; (i < argc) && (ptr < end); i++) { len = MIN(strlen(argv[i]), end - ptr); len = MIN(strlen(argv[i]), (size_t)(end - ptr)); memcpy(ptr, argv[i], len); ptr += len; *ptr++ = ' '; Loading toolbox/watchprops.c +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ static bool str_equals(void *keyA, void *keyB) static void announce(char *name, char *value) { char *x; unsigned char *x; for(x = value; *x; x++) { for(x = (unsigned char *)value; *x; x++) { if((*x < 32) || (*x > 127)) *x = '.'; } Loading Loading
toolbox/insmod.c +1 −1 Original line number Diff line number Diff line Loading @@ -73,7 +73,7 @@ int insmod_main(int argc, char **argv) char *ptr = opts; for (i = 2; (i < argc) && (ptr < end); i++) { len = MIN(strlen(argv[i]), end - ptr); len = MIN(strlen(argv[i]), (size_t)(end - ptr)); memcpy(ptr, argv[i], len); ptr += len; *ptr++ = ' '; Loading
toolbox/watchprops.c +2 −2 Original line number Diff line number Diff line Loading @@ -23,9 +23,9 @@ static bool str_equals(void *keyA, void *keyB) static void announce(char *name, char *value) { char *x; unsigned char *x; for(x = value; *x; x++) { for(x = (unsigned char *)value; *x; x++) { if((*x < 32) || (*x > 127)) *x = '.'; } Loading