Two printf format fixes

Martti Kuparinen <>
Fri Feb 26 13:57:16 CET 2010


Hi,

The attached patch fixes these two warnings in R13B04 on my 64-bit Ubuntu 9.10 
with GCC 4.4.1

esock_utils.c:38: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘size_t’
esock_utils.c:50: warning: format ‘%d’ expects type ‘int’, but argument 3 has 
type ‘size_t’


http://en.wikipedia.org/wiki/Printf#printf_format_placeholders

Martti
-------------- next part --------------
A non-text attachment was scrubbed...
Name: esock_utils.c.diff
Type: text/x-patch
Size: 625 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20100226/264784ab/attachment.bin>


More information about the erlang-patches mailing list