]> git.itanic.dy.fi Git - rrdd/commit
process: request_fork: Ensure function parameter is always signed
authorTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 1 Oct 2012 14:45:52 +0000 (17:45 +0300)
committerTimo Kokkonen <timo.t.kokkonen@iki.fi>
Mon, 1 Oct 2012 14:51:25 +0000 (17:51 +0300)
commit18ad55ee9c547a2ed8e0cfa08eb855d1d80def94
tree766709593b5b14a256fc97c97ffe952c5bbb14e9
parentf29fcd0f5f1387c9fd8c42e6130ad46df23a7051
process: request_fork: Ensure function parameter is always signed

Some architectures, such as armv6, treat char as an unsigned integer
instead of signed. Basically it makes no sense to use char type with
the variable. When it is changed to an int there is no confusion about
the type and it will work better with all architectures.

Signed-off-by: Timo Kokkonen <timo.t.kokkonen@iki.fi>
process.c