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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162491
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;
}