diff options
author | 2014-07-11 08:48:52 +0000 | |
---|---|---|
committer | 2014-07-11 08:48:52 +0000 | |
commit | be0869dbc1737b38ab627fa71883053fe24b9d8c (patch) | |
tree | 9e1d6411b78187e55099223eb6dd5d64f674eb2b | |
parent | add sensors to export what the actual size of the balloon is and what it (diff) | |
download | wireguard-openbsd-be0869dbc1737b38ab627fa71883053fe24b9d8c.tar.xz wireguard-openbsd-be0869dbc1737b38ab627fa71883053fe24b9d8c.zip |
replace u_int32_t with uint32_t
ok beck@
-rw-r--r-- | regress/lib/libcrypto/bio/biotest.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/regress/lib/libcrypto/bio/biotest.c b/regress/lib/libcrypto/bio/biotest.c index 75dbf8c4fe4..c150c0b54e7 100644 --- a/regress/lib/libcrypto/bio/biotest.c +++ b/regress/lib/libcrypto/bio/biotest.c @@ -1,4 +1,4 @@ -/* $OpenBSD: biotest.c,v 1.3 2014/07/08 14:17:38 bcook Exp $ */ +/* $OpenBSD: biotest.c,v 1.4 2014/07/11 08:48:52 bcook Exp $ */ /* * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> * @@ -17,6 +17,7 @@ #include <sys/types.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> @@ -27,7 +28,7 @@ struct bio_get_host_ip_test { char *input; - u_int32_t ip; + uint32_t ip; int ret; }; @@ -97,10 +98,10 @@ do_bio_get_host_ip_tests(void) failed = 1; continue; } - if (ret && ntohl(*((u_int32_t *)ip)) != bgit->ip) { + if (ret && ntohl(*((uint32_t *)ip)) != bgit->ip) { fprintf(stderr, "FAIL: test %zi (\"%s\") returned ip " "%x != %x\n", i, bgit->input, - ntohl(*((u_int32_t *)ip)), bgit->ip); + ntohl(*((uint32_t *)ip)), bgit->ip); failed = 1; } } |