From d7c0a89a3a5697783a6dd89333ab660074790890 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 27 Mar 2018 15:13:34 -0400 Subject: *: use C99 standard fixed-width integer types The following types are nonstandard: - u_char - u_short - u_int - u_long - u_int8_t - u_int16_t - u_int32_t Replace them with the C99 standard types: - uint8_t - unsigned short - unsigned int - unsigned long - uint8_t - uint16_t - uint32_t Signed-off-by: Quentin Young --- lib/imsg-buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/imsg-buffer.c') diff --git a/lib/imsg-buffer.c b/lib/imsg-buffer.c index ba1e26820b..b83f1f76f2 100644 --- a/lib/imsg-buffer.c +++ b/lib/imsg-buffer.c @@ -59,7 +59,7 @@ struct ibuf *ibuf_dynamic(size_t len, size_t max) int ibuf_realloc(struct ibuf *buf, size_t len) { - u_char *b; + uint8_t *b; /* on static buffers max is eq size and so the following fails */ if (buf->wpos + len > buf->max) { -- cgit v1.2.3