Source-Changes archive

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

Re: CVS commit: src/sys/dev/usb



On Mon, Jan 24, 2005 at 22:40:00 +0000, Jesse Off wrote:

> It seems on some archs size_t is unsigned int and on others size_t is
> unsigned long.  Cast sizeof() to unsigned long in printf()'s so it can
> always work regardless.

Kernel printf groks 'z' modifier for size_t, iirc.

SY, Uwe
-- 
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen



Home | Main Index | Thread Index | Old Index