Silence GCC4 signed/unsigned pointer mismatch warning.
This commit is contained in:
parent
6da9aa1452
commit
9a4194814d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162491
@ -377,7 +377,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
if (bin) {
|
if (bin) {
|
||||||
sysfile = strdup(basename(sysfile));
|
sysfile = strdup(basename(sysfile));
|
||||||
ptr = sysfile;
|
ptr = (unsigned char *)sysfile;
|
||||||
while (*ptr) {
|
while (*ptr) {
|
||||||
if (*ptr == '.')
|
if (*ptr == '.')
|
||||||
*ptr = '_';
|
*ptr = '_';
|
||||||
|
@ -143,7 +143,7 @@ MsgRead()
|
|||||||
if (m->header.arglen == 0)
|
if (m->header.arglen == 0)
|
||||||
printf("No arguments\n");
|
printf("No arguments\n");
|
||||||
else
|
else
|
||||||
DumpAscii(m->data, m->header.arglen);
|
DumpAscii((const u_char *)m->data, m->header.arglen);
|
||||||
free(m);
|
free(m);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user