diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-02-01 14:12:19 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-02-01 14:12:19 -0500 |
commit | 147f355cb698fc90a07e48048275831de73d0fc4 (patch) | |
tree | e72f1e09118f9b31e7b71bdbe3f441081a8c448f | |
parent | 96e0aca4d544cb646c4f96e23397793995f92ab9 (diff) | |
download | musl-147f355cb698fc90a07e48048275831de73d0fc4.tar.gz musl-147f355cb698fc90a07e48048275831de73d0fc4.tar.bz2 musl-147f355cb698fc90a07e48048275831de73d0fc4.tar.xz musl-147f355cb698fc90a07e48048275831de73d0fc4.zip |
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..
-rw-r--r-- | include/sys/types.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |