From: Rich Felker Date: Wed, 1 Feb 2012 19:12:19 +0000 (-0500) Subject: apparently gnu caddr_t is supposed to be char *, not unsigned long X-Git-Tag: v0.8.5~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=147f355cb698fc90a07e48048275831de73d0fc4;p=oweals%2Fmusl.git 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.. --- 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;