2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-03 16:15:27 +00:00

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

This commit is contained in:
Evan Hunt
2014-05-29 07:37:13 -07:00
parent 9ff0b976a1
commit caa252e5ad
3 changed files with 4 additions and 4 deletions

View File

@@ -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");

View File

@@ -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;

View File

@@ -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.