mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 01:10:00 -04:00
[master] Fix bin/tests/rbt_test.c, use portable int types
This commit is contained in:
parent
9ff0b976a1
commit
caa252e5ad
3 changed files with 4 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue