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

Re: Hint for a port of a package



> ANSI specifies %z for size_t so better would be:
> 
> syslog(LOG_WARNING, "cmd_q(): malloc(%z) returned NULL", sizeof(struct ordq_item_t));

indeed this is more correct, unfortunately gcc-2.96 doesn't support
this. so until we get 3.x, we'll have to stick with %ld for now :(

randolph



Reply to: