Silence GCC4 signed/unsigned pointer mismatch warning.
This commit is contained in:
parent
6da9aa1452
commit
9a4194814d
@ -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 = '_';
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user