Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: basesrc/sbin/dump



>sbin/disklabel/printlabel.c

        can't fix this one by just replacing (int) into (unsigned long),
        since sizeof() is used to pass field width to "%*s" printf format
        string - so int has to be passed.  if we want to be really picky
        we need to declare intermediate int variable, or check if sizeof()
        is smaller than or equal to INT_MAX.

itojun



Home | Main Index | Thread Index | Old Index