X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/blobdiff_plain/305173564eb53b59f9f68f31f8cc51554968f1e4..4e82e7cac76280026adbe913d5cedb7e54cfb41d:/server/mr_util.c diff --git a/server/mr_util.c b/server/mr_util.c index ca0c888d..47f7cc6c 100644 --- a/server/mr_util.c +++ b/server/mr_util.c @@ -16,7 +16,6 @@ static char *rcsid_mr_util_c = "$Header$"; #include "mr_server.h" #include -#include #include extern char *whoami; @@ -111,7 +110,7 @@ char **argv; register unsigned char *p, *lastch; for (arg = argv; argc--; arg++) { - for (lastch = p = *arg; *p; p++) { + for (lastch = p = (unsigned char *) *arg; *p; p++) { /* If any byte in the string has the high bit set, assume * that it is binary and we do not want to trim it. * Setting p = lastch will cause us not to trim the string