While passing Clang's static analyzer on Colloquy, it output the following
warning for the file `miniupnpc.c`.
Indeed, in that file a `size_t` value (the result of an strlen) is
formatted as `%d`. While the lines involved are only active in DEBUG and
it's very unlikely they'd ever go past 2GB, given `size_t` has its own
format string `%zu` there is no reason not to fix it.
Original issue reported on code.google.com by maskl...@gmail.com on 30 Sep 2009 at 7:38
Original issue reported on code.google.com by
maskl...@gmail.com
on 30 Sep 2009 at 7:38