From: Evan Hunt Date: Thu, 29 May 2014 14:37:13 +0000 (-0700) Subject: [master] Fix bin/tests/rbt_test.c, use portable int types X-Git-Tag: v9.11.0a1~1593 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=caa252e5adf952d8981c7dacd28c5d2296ff5896;p=thirdparty%2Fbind9.git [master] Fix bin/tests/rbt_test.c, use portable int types --- diff --git a/bin/tests/rbt_test.c b/bin/tests/rbt_test.c index f98c1e968ef..66e5dd7cb9e 100644 --- a/bin/tests/rbt_test.c +++ b/bin/tests/rbt_test.c @@ -430,7 +430,7 @@ main(int argc, char **argv) { } else if (CMDCHECK("print")) { if (arg == NULL || *arg == '\0') - dns_rbt_printall(rbt, NULL); + dns_rbt_printtext(rbt, NULL, stdout); else printf("usage: print\n"); diff --git a/lib/isc/hash.c b/lib/isc/hash.c index aff12eb21d2..5d67c053b39 100644 --- a/lib/isc/hash.c +++ b/lib/isc/hash.c @@ -395,7 +395,7 @@ isc_hash_calc(const unsigned char *key, unsigned int keylen, } void -isc__hash_setvec(const uint16_t *vec) { +isc__hash_setvec(const isc_uint16_t *vec) { int i; hash_random_t *p; diff --git a/lib/isc/include/isc/hash.h b/lib/isc/include/isc/hash.h index 662e37aff4a..3dec1d9946a 100644 --- a/lib/isc/include/isc/hash.h +++ b/lib/isc/include/isc/hash.h @@ -20,7 +20,7 @@ #ifndef ISC_HASH_H #define ISC_HASH_H 1 -#include +#include /***** ***** Module Info @@ -183,7 +183,7 @@ isc_hash_calc(const unsigned char *key, unsigned int keylen, /*@}*/ void -isc__hash_setvec(const uint16_t *vec); +isc__hash_setvec(const isc_uint16_t *vec); /*!< * \brief Set the contents of the random vector used in hashing.