Silence GCC4 signed/unsigned pointer mismatch warning.

This commit is contained in:
Alexander Kabaev 2006-09-21 01:48:47 +00:00
parent 6da9aa1452
commit 9a4194814d
2 changed files with 2 additions and 2 deletions

View File

@ -377,7 +377,7 @@ main(int argc, char *argv[])
if (bin) {
sysfile = strdup(basename(sysfile));
ptr = sysfile;
ptr = (unsigned char *)sysfile;
while (*ptr) {
if (*ptr == '.')
*ptr = '_';

View File

@ -143,7 +143,7 @@ MsgRead()
if (m->header.arglen == 0)
printf("No arguments\n");
else
DumpAscii(m->data, m->header.arglen);
DumpAscii((const u_char *)m->data, m->header.arglen);
free(m);
return;
}