hashtabletest: Fix warning: format ‘%ld’ expects argument of type ...
authorHans de Goede <hdegoede@redhat.com>
Mon, 3 Mar 2014 08:51:36 +0000 (09:51 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 10 Mar 2014 08:06:57 +0000 (09:06 +0100)
commit2f2967173ba0b0a4f7ab013edeaaf11e7c181beb
tree95e823278b920e2ede4a9d509c8c96366ad00b29
parentb972851ce47b5e3b681a212a43dd71aab94e7a1b
hashtabletest: Fix warning: format ‘%ld’ expects argument of type ...

This fixes the following compiler warning:

hashtabletest.c: In function ‘print_xid’:
hashtabletest.c:15:5: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘XID’ [-Wformat=]
     printf("%ld", *x);
     ^

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
test/hashtabletest.c