commit | 4864e85430d16cff00b6624d9de6c958d319c876 | [log] [tgz] |
---|---|---|
author | Dan Stoza <stoza@google.com> | Fri Jan 17 11:38:34 2014 -0800 |
committer | Colin Cross <ccross@android.com> | Mon Jan 27 18:16:50 2014 -0800 |
tree | ccc2000f87aa37ae7e0469a04ddcdfe51b8e053e | |
parent | 55f0668ffd6fd7889e027b3072bf173a7ee48f08 [diff] [blame] |
Make libEGL build cleanly under 64-bit Change-Id: I255dfb70b166b7469d59352b1acfc7aececa07de
diff --git a/opengl/libs/EGL/eglApi.cpp b/opengl/libs/EGL/eglApi.cpp index 0cc5265..d96b54f 100644 --- a/opengl/libs/EGL/eglApi.cpp +++ b/opengl/libs/EGL/eglApi.cpp
@@ -204,7 +204,7 @@ { clearError(); - uint32_t index = uint32_t(display); + uintptr_t index = reinterpret_cast<uintptr_t>(display); if (index >= NUM_DISPLAYS) { return setError(EGL_BAD_PARAMETER, EGL_NO_DISPLAY); }