diff options
author | Lucas De Marchi <lucas.demarchi@profusion.mobi> | 2010-11-12 15:18:52 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2010-11-12 15:18:52 +0100 |
commit | 79559685282bb14a78ae0a3b75af637e519cfee9 (patch) | |
tree | ef2351292cf8411437822265c306be0669984ea0 /tools | |
parent | 7f6ba9d3e33b19460cb9e11c5c866172e9a2ce1e (diff) | |
download | connman-79559685282bb14a78ae0a3b75af637e519cfee9.tar.gz connman-79559685282bb14a78ae0a3b75af637e519cfee9.tar.bz2 connman-79559685282bb14a78ae0a3b75af637e519cfee9.zip |
iptables-test: Fix build failure
tools/iptables-test.c:786:5: error: cast from pointer to integer of
different size
tools/iptables-test.c:788:5: error: cast from pointer to integer of
different size
Diffstat (limited to 'tools')
-rw-r--r-- | tools/iptables-test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/iptables-test.c b/tools/iptables-test.c index e8e9228e..753847a0 100644 --- a/tools/iptables-test.c +++ b/tools/iptables-test.c @@ -781,11 +781,11 @@ static void connman_iptables_dump_hook(struct connman_iptables *table) printf("hooks: \n"); for (i = 0; i < NF_INET_NUMHOOKS; i++) { if ((table->info->valid_hooks & (1 << i))) - printf("%s entry 0x%x underflow 0x%x (0x%x)\n", + printf("%s entry %p underflow %p (%#x)\n", hooknames[i], - (unsigned int)table->blob_entries->entrytable + + table->blob_entries->entrytable + table->info->hook_entry[i], - (unsigned int)table->blob_entries->entrytable + + table->blob_entries->entrytable + table->info->underflow[i], table->info->underflow[i]); } |