]> err.no Git - util-linux/commit
setarch: fix compiler warning
authorLaMont Jones <lamont@debian.org>
Sat, 22 Sep 2007 04:38:32 +0000 (22:38 -0600)
committerKarel Zak <kzak@redhat.com>
Sun, 23 Sep 2007 19:34:33 +0000 (21:34 +0200)
commit0901c3a4670b8d32c2668b1612cc0fad2a33ce14
treee61f842c6f76273374f574cfc80030a7eb076489
parentebbeb2c7ac1b00b6083905957837a271e80b187e
setarch: fix compiler warning

NULL is not 0L.  It's (void*)0.  Passing that as a parameter to a function
that takes an unsigned long results in a warning about the lack of a cast.

Signed-off-by: LaMont Jones <lamont@debian.org>
sys-utils/setarch.c