]> arthur.barton.de Git - ngircd-alex.git/commit
use %ld as format specifier for posix data types
authorFlorian Westphal <fw@strlen.de>
Wed, 17 Dec 2008 22:27:25 +0000 (23:27 +0100)
committerFlorian Westphal <fw@strlen.de>
Fri, 26 Dec 2008 00:07:13 +0000 (01:07 +0100)
commitd26a283ea9ae86c5c4633a46aaec69b02def7c66
tree3af23dd63d92b32a6f773d7457a437fc8a5957e8
parent4b83a23d9d3aa4644dc497f14eaca2bd7f1cc347
use %ld as format specifier for posix data types

in the same vein as the earlier commit:
cast posix data types (pid_t, ...) to long and use
%ld as format specifier. This will avoid problems
when sizeof(int) != sizeof(type).

We could also cast to int, but this might truncate the value.
src/ngircd/log.c