[uClibc-cvs] svn commit: trunk/uClibc/ldso/include

vapier at uclibc.org vapier at uclibc.org
Thu Jun 30 04:47:51 UTC 2005


Author: vapier
Date: 2005-06-29 22:47:50 -0600 (Wed, 29 Jun 2005)
New Revision: 10647

Log:
typecast to long instead of int so pointers on 64bit arches can be typecast safely

Modified:
   trunk/uClibc/ldso/include/dl-syscall.h


Changeset:
Modified: trunk/uClibc/ldso/include/dl-syscall.h
===================================================================
--- trunk/uClibc/ldso/include/dl-syscall.h	2005-06-30 04:16:22 UTC (rev 10646)
+++ trunk/uClibc/ldso/include/dl-syscall.h	2005-06-30 04:47:50 UTC (rev 10647)
@@ -47,8 +47,8 @@
 #ifndef _dl_MAX_ERRNO
 #define _dl_MAX_ERRNO 4096
 #endif
-#define _dl_mmap_check_error(__res)     \
-        (((int)__res) < 0 && ((int)__res) >= -_dl_MAX_ERRNO)
+#define _dl_mmap_check_error(__res) \
+	(((long)__res) < 0 && ((long)__res) >= -_dl_MAX_ERRNO)
 #endif
 
 




More information about the uClibc-cvs mailing list