On Dec 21, 2009, at 1:34 PM, ger...@wireshark.org 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.
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to