mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 23:55:27 +00:00
[master] Fix bin/tests/rbt_test.c, use portable int types
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user