Bug 261754

Summary: GLContextX11.cpp:89:66: error: invalid cast from type 'long unsigned int' to type 'EGLNativePixmapType' {aka 'unsigned int'}
Product: WebKit Reporter: Michael Catanzaro <mcatanzaro>
Component: WebKitGTKAssignee: Michael Catanzaro <mcatanzaro>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Description Michael Catanzaro 2023-09-19 10:21:17 PDT
WebKitGTK 2.42.0 fails to build on i686:

../Source/WebCore/platform/graphics/egl/GLContextX11.cpp: In static member function 'static std::unique_ptr<WebCore::GLContext> WebCore::GLContext::createPixmapContext(WebCore::PlatformDisplay&, EGLContext)':
../Source/WebCore/platform/graphics/egl/GLContextX11.cpp:89:66: error: invalid cast from type 'long unsigned int' to type 'EGLNativePixmapType' {aka 'unsigned int'}
   89 |     EGLSurface surface = eglCreatePixmapSurface(display, config, reinterpret_cast<EGLNativePixmapType>(pixmap.get()), 0);
      |                                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Michael Catanzaro 2023-09-19 10:23:09 PDT
Pull request: https://github.com/WebKit/WebKit/pull/17923
Comment 2 EWS 2023-09-19 11:35:08 PDT
Committed 268137@main (356c9d5d33e0): <https://commits.webkit.org/268137@main>

Reviewed commits have been landed. Closing PR #17923 and removing active labels.