Changeset 2378 for trunk/src/lib/kDep.c


Ignore:
Timestamp:
Jan 13, 2010, 11:19:43 PM (16 years ago)
Author:
bird
Message:

kDep.c: -Wformat.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/kDep.c

    r2270 r2378  
    388388    {
    389389        unsigned i;
    390         printf("%s%0*x %04x:", off ? "\n" : "", sizeof(pb) * 2, offBase + off, off);
     390        printf("%s%0*lx %04lx:", off ? "\n" : "", (int)sizeof(pb) * 2,
     391               (unsigned long)offBase + (unsigned long)off, (unsigned long)off);
    391392        for (i = 0; i < cchWidth && off + i < cb ; i++)
    392393            printf(off + i < cb ? !(i & 7) && i ? "-%02x" : " %02x" : "   ", pb[i]);
Note: See TracChangeset for help on using the changeset viewer.