Commit caa252e5 authored by Evan Hunt's avatar Evan Hunt
Browse files

[master] Fix bin/tests/rbt_test.c, use portable int types

parent 9ff0b976
......@@ -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");
......
......@@ -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;
......
......@@ -20,7 +20,7 @@
#ifndef ISC_HASH_H
#define ISC_HASH_H 1
#include <stdint.h>
#include <isc/types.h>
/*****
***** 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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment