aboutsummaryrefslogtreecommitdiff
path: root/src/hello/test_hello.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-02-22 18:59:19 +0000
committerChristian Grothoff <christian@grothoff.org>2012-02-22 18:59:19 +0000
commit9ff7395ac8884bec3d4cfc6ef2cd3215c1743873 (patch)
treee7decce0e223da5c64ed6cc45eeaeea391e0e8aa /src/hello/test_hello.c
parent4ab709caddac414aa5c499207279fa71d9d62136 (diff)
downloadgnunet-9ff7395ac8884bec3d4cfc6ef2cd3215c1743873.tar.gz
gnunet-9ff7395ac8884bec3d4cfc6ef2cd3215c1743873.zip
-fix type
Diffstat (limited to 'src/hello/test_hello.c')
-rw-r--r--src/hello/test_hello.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hello/test_hello.c b/src/hello/test_hello.c
index c645252ff..6906a4113 100644
--- a/src/hello/test_hello.c
+++ b/src/hello/test_hello.c
@@ -62,7 +62,7 @@ check_addr (void *cls, const struct GNUNET_HELLO_Address *address,
62 62
63#if DEBUG 63#if DEBUG
64 FPRINTF (stderr, "DEBUG: check_addr called with i = %d and addrlen = %u\n", 64 FPRINTF (stderr, "DEBUG: check_addr called with i = %d and addrlen = %u\n",
65 *i, address->address_length); 65 *i, (unsigned int) address->address_length);
66#endif 66#endif
67 GNUNET_assert (address->address_length > 0); 67 GNUNET_assert (address->address_length > 0);
68 GNUNET_assert (*i & (1 << (address->address_length - 1))); 68 GNUNET_assert (*i & (1 << (address->address_length - 1)));
@@ -83,7 +83,7 @@ remove_some (void *cls, const struct GNUNET_HELLO_Address *address,
83 83
84#if DEBUG 84#if DEBUG
85 FPRINTF (stderr, "DEBUG: remove_some called with i = %d and addrlen = %u\n", 85 FPRINTF (stderr, "DEBUG: remove_some called with i = %d and addrlen = %u\n",
86 *i, address->address_length); 86 *i, (unsigned int) address->address_length);
87#endif 87#endif
88 GNUNET_assert (address->address_length > 0); 88 GNUNET_assert (address->address_length > 0);
89 if (*i & (1 << (address->address_length - 1))) 89 if (*i & (1 << (address->address_length - 1)))