]> arthur.barton.de Git - ngircd-alex.git/commit
don't print pid_t type with %ld format specifier
authorFlorian Westphal <fw@strlen.de>
Wed, 17 Dec 2008 21:55:20 +0000 (22:55 +0100)
committerFlorian Westphal <fw@strlen.de>
Wed, 17 Dec 2008 21:55:20 +0000 (22:55 +0100)
commit8a94ec9728cef27c0b1e3a7df62f5530c6394308
tree974ac648730b930b8bc220c69b58ed2b685cff81
parente5fea5380d29f02027b41d55bddf89cccd44d0b7
don't print pid_t type with %ld format specifier

Reported by Christoph Biedl:
ngircd[21581]: Running as user irc(39), group irc(39), with PID 140733193409613.

cast pid_t to long to avoid this.
While we are there, cast uid_t and gid_t, too.
src/ngircd/ngircd.c