Module Name: xsrc
Committed By: christos
Date: Sun Apr 21 18:52:56 UTC 2019
Modified Files:
xsrc/external/mit/MesaLib/dist/src/egl/main: eglglobals.c
Log Message:
The third argument of mincore(2) is unsigned only on linux.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c
diff -u xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c:1.3 xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c:1.4
--- xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c:1.3 Sat Mar 9 23:15:35 2019
+++ xsrc/external/mit/MesaLib/dist/src/egl/main/eglglobals.c Sun Apr 21 14:52:56 2019
@@ -162,7 +162,10 @@ _eglPointerIsDereferencable(void *p)
{
#ifdef HAVE_MINCORE
uintptr_t addr = (uintptr_t) p;
- unsigned char valid = 0;
+#ifdef __linux__
+ unsigned
+#endif
+ char valid = 0;
const long page_size = getpagesize();
if (p == NULL)