]> 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:38:29 +0000 (21:38 +0200)
commit5588d9a2e6cd79f2beba5e7669f874a5b9671bbb
tree881f00b00b78fe76bf8890de126d95a63a9cdad8
parentc9256e4c2f01cc1d25cf3bcbb87ea6af037928a6
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