summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornayden <nayden@openbsd.org>2017-08-13 14:56:05 +0000
committernayden <nayden@openbsd.org>2017-08-13 14:56:05 +0000
commit8d34f52aaa9c5a1bd943a154253d4b4e0501f151 (patch)
treef02e1e1cdfe3223d683f68a75d1200d197557ef8
parentFix a dereference of a bogus pointer. (diff)
downloadwireguard-openbsd-8d34f52aaa9c5a1bd943a154253d4b4e0501f151.tar.xz
wireguard-openbsd-8d34f52aaa9c5a1bd943a154253d4b4e0501f151.zip
Convert variable type to C99.
OK mpi@
-rw-r--r--sys/sys/ctf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/ctf.h b/sys/sys/ctf.h
index ccd16dad05e..ece42dfef6a 100644
--- a/sys/sys/ctf.h
+++ b/sys/sys/ctf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ctf.h,v 1.4 2017/05/08 11:14:33 mpi Exp $ */
+/* $OpenBSD: ctf.h,v 1.5 2017/08/13 14:56:05 nayden Exp $ */
/*
* Copyright (c) 2016 Martin Pieuchot <mpi@openbsd.org>
@@ -90,7 +90,7 @@ struct ctf_lmember {
struct ctf_enum {
uint32_t cte_name;
- int cte_value;
+ int32_t cte_value;
};
#define CTF_MAGIC 0xcff1