Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 31342: /trunk/epan/dissectors/ /trun

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Mon, 21 Dec 2009 13:43:09 -0800
On Dec 21, 2009, at 1:34 PM, gerald@xxxxxxxxxxxxx wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=31342
> 
> User: gerald
> Date: 2009/12/21 01:34 PM
> 
> Log:
> Can someone explain why it's a good idea that functions like strlen
> return a size_t and then not define a size_t format specifier for sprintf?

C99 (at least in the draft I have) added "z" as the size_t format specifier.

Unfortunately, we can't guarantee that all C language environments we deal with support it.