]> sourceware.org Git - newlib-cygwin.git/commitdiff
* include/sys/mman.h (MAP_FAILED): Define as void *.
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 9 Oct 2003 11:40:16 +0000 (11:40 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 9 Oct 2003 11:40:16 +0000 (11:40 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/sys/mman.h

index 854ddbd1f1c43552eda1a65b227c5528b096a62c..3b91457c29a0a63129a72e23af4f93ffc0faa490 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-09  Yitzchak Scott-Thoennes <sthoenna@efn.org>
+
+       * include/sys/mman.h (MAP_FAILED): Define as void *.
+
 2003-10-08  Christopher Faylor  <cgf@redhat.com>
 
        * dcrt0.cc (hMainProc): Initialize to useful value for use when dll is
index 13393e9cc27a38d560b58f12943c722babe341ee..3264739c026c9e8eab10af538caa87f7337f8edb 100644 (file)
@@ -31,7 +31,7 @@ extern "C" {
 #define MAP_ANONYMOUS 0x20
 #define MAP_ANON MAP_ANONYMOUS
 
-#define MAP_FAILED ((caddr_t)-1)
+#define MAP_FAILED ((void *)-1)
 
 /*
  * Flags for msync.
This page took 0.041023 seconds and 5 git commands to generate.