Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/MesaLib/dist/src/egl/main The third argument ...
details: https://anonhg.NetBSD.org/xsrc/rev/5f9d12c5617f
branches: trunk
changeset: 10270:5f9d12c5617f
user: christos <christos%NetBSD.org@localhost>
date: Sun Apr 21 18:52:56 2019 +0000
description:
The third argument of mincore(2) is unsigned only on linux.
diffstat:
external/mit/MesaLib/dist/src/egl/main/eglglobals.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 1bb302f6de15 -r 5f9d12c5617f external/mit/MesaLib/dist/src/egl/main/eglglobals.c
--- a/external/mit/MesaLib/dist/src/egl/main/eglglobals.c Thu Apr 18 16:41:55 2019 +0000
+++ b/external/mit/MesaLib/dist/src/egl/main/eglglobals.c Sun Apr 21 18:52:56 2019 +0000
@@ -162,7 +162,10 @@
{
#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)
Home |
Main Index |
Thread Index |
Old Index