diff options
| author | 2019-01-20 02:50:03 +0000 | |
|---|---|---|
| committer | 2019-01-20 02:50:03 +0000 | |
| commit | b13109f385024c3ff4f314cc43009329f01c83e6 (patch) | |
| tree | 9289408ba12f6bdb25f0196e581934eda8024402 /lib/libutil/imsg-buffer.c | |
| parent | make this look more like other pwr_action code (small_kernel) (diff) | |
| download | wireguard-openbsd-b13109f385024c3ff4f314cc43009329f01c83e6.tar.xz wireguard-openbsd-b13109f385024c3ff4f314cc43009329f01c83e6.zip | |
Change imsg header definitions to use standard types.
ok deraadt@ claudio@
Diffstat (limited to 'lib/libutil/imsg-buffer.c')
| -rw-r--r-- | lib/libutil/imsg-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/imsg-buffer.c b/lib/libutil/imsg-buffer.c index a4aee60bc05..7c60d9e9e72 100644 --- a/lib/libutil/imsg-buffer.c +++ b/lib/libutil/imsg-buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: imsg-buffer.c,v 1.11 2017/12/14 09:27:44 kettenis Exp $ */ +/* $OpenBSD: imsg-buffer.c,v 1.12 2019/01/20 02:50:03 bcook Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -70,7 +70,7 @@ ibuf_dynamic(size_t len, size_t max) static int ibuf_realloc(struct ibuf *buf, size_t len) { - u_char *b; + unsigned char *b; /* on static buffers max is eq size and so the following fails */ if (buf->wpos + len > buf->max) { |
