From 147f355cb698fc90a07e48048275831de73d0fc4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 1 Feb 2012 14:12:19 -0500 Subject: apparently gnu caddr_t is supposed to be char *, not unsigned long this type should never be used anyway, but some old junk uses it.. --- include/sys/types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/sys/types.h') diff --git a/include/sys/types.h b/include/sys/types.h index 72b4c5c1..18433f86 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -59,7 +59,7 @@ typedef __uint32_t u_int32_t; typedef __uint64_t u_int64_t; #ifdef _GNU_SOURCE -typedef unsigned long caddr_t; +typedef char *caddr_t; typedef unsigned char u_char; typedef unsigned short u_short, ushort; typedef unsigned u_int, uint; -- cgit v1.2.1