]> git.ipfire.org Git - thirdparty/iptables.git/commit
libxtables: use uintmax for xtables_strtoul
authorJan Engelhardt <jengelh@medozas.de>
Tue, 24 May 2011 00:30:23 +0000 (02:30 +0200)
committerJan Engelhardt <jengelh@medozas.de>
Tue, 24 May 2011 12:54:27 +0000 (14:54 +0200)
commit0b7a140944738d67b9c4e6f09992c8407eefb18a
tree8b822c215ba1f70c41829c0a9f249d48b61233f8
parent5e35b7d435c5bc1b3641f76a6601a55d32d63ac8
libxtables: use uintmax for xtables_strtoul

Addendum to 2305d5fb42fc059f38fc1bdf53411dbeecdb310b.

I noticed that unsigned long long is not consistently used, for
example, min/max are still just unsigned long, and strtoul is being
called.

Instead of changing it to unsigned long long, just use uintmax
functions right away so this does not need size-related changing in
the future.

Cc: JP Abgrall <jpa@google.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
include/xtables.h.in
xtables.c
xtoptions.c