"Fixed" a printf format error. Use bogus casts to avoid using %p so that
the output doesn't change (unless the old format caused runtime errors).
This commit is contained in:
parent
1ec86adf67
commit
b7db722f78
@ -428,7 +428,9 @@ mci_dump(mci, logit)
|
||||
|
||||
sep = logit ? " " : "\n\t";
|
||||
p = buf;
|
||||
snprintf(p, SPACELEFT(buf, p), "MCI@%x: ", mci);
|
||||
snprintf(p, SPACELEFT(buf, p), "MCI@%lx: ",
|
||||
sizeof(void *) == sizeof(u_long) ?
|
||||
(u_long)(void *)mci : (u_long)(u_int)(void *)mci);
|
||||
p += strlen(p);
|
||||
if (mci == NULL)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user