Title: [278571] trunk/Source/WebCore
Revision
278571
Author
[email protected]
Date
2021-06-07 13:27:48 -0700 (Mon, 07 Jun 2021)

Log Message

Compile error by trying to fit a GCGLint64* to a GLint64*
https://bugs.webkit.org/show_bug.cgi?id=226639

Patch by Eleni Maria Stea <[email protected]> on 2021-06-07
Reviewed by Kenneth Russell.

ANGLE functions GetInteger64vRobustANGLE and
GetInteger64i_vRobustANGLE expect a value of GLint64* aka
long int * but we try to fit a pointer to a long long int.
Fixed compile errors.

* platform/graphics/GraphicsTypesGL.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (278570 => 278571)


--- trunk/Source/WebCore/ChangeLog	2021-06-07 20:09:48 UTC (rev 278570)
+++ trunk/Source/WebCore/ChangeLog	2021-06-07 20:27:48 UTC (rev 278571)
@@ -1,3 +1,17 @@
+2021-06-07  Eleni Maria Stea  <[email protected]>
+
+        Compile error by trying to fit a GCGLint64* to a GLint64*
+        https://bugs.webkit.org/show_bug.cgi?id=226639
+
+        Reviewed by Kenneth Russell.
+
+        ANGLE functions GetInteger64vRobustANGLE and
+        GetInteger64i_vRobustANGLE expect a value of GLint64* aka
+        long int * but we try to fit a pointer to a long long int.
+        Fixed compile errors.
+
+        * platform/graphics/GraphicsTypesGL.h:
+
 2021-06-07  Antoine Quint  <[email protected]>
 
         REGRESSION (r272201): iPad render flashing on load

Modified: trunk/Source/WebCore/platform/graphics/GraphicsTypesGL.h (278570 => 278571)


--- trunk/Source/WebCore/platform/graphics/GraphicsTypesGL.h	2021-06-07 20:09:48 UTC (rev 278570)
+++ trunk/Source/WebCore/platform/graphics/GraphicsTypesGL.h	2021-06-07 20:27:48 UTC (rev 278571)
@@ -55,8 +55,8 @@
 typedef intptr_t GCGLintptr;
 typedef intptr_t GCGLsizeiptr;
 typedef intptr_t GCGLvoidptr;
-typedef long long GCGLint64;
-typedef unsigned long long GCGLuint64;
+typedef int64_t GCGLint64;
+typedef uint64_t GCGLuint64;
 
 typedef GCGLuint PlatformGLObject;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to