Source-Changes archive

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

re: CVS commit: src/sys/dist/ipf/netinet



   
   Log Message:
   One can't portably print a size_t with an %u format directive.
   Since this might be in the kernel, cast to unsigned int before printing.
   Fixes build problem for amd64 (and presumably also our other LP64 ports).

since size_t is "unsigned long" on some platforms, casting
to int seems not really right (though i'd hope it wouldn't
actually matter.)  maybe just use %z format instead?


.mrg.



Home | Main Index | Thread Index | Old Index