Skip to content
Snippets Groups Projects
Commit 464deabe authored by purushottam kumar's avatar purushottam kumar Committed by Marge Bot
Browse files

vrend: Fix int-conversion fatal build error with GCC-14


Getting below error int conversion during compilation as one the
platforms where EGLNativeDisplayType is an int instead of a pointer.

| ../git/src/vrend_winsys_egl.c: In function 'virgl_egl_init':
| ../git/src/vrend_winsys_egl.c:364:62: error: passing argument 2 of 'egl->funcs.epoxy_eglGetPlatformDisplay' makes pointer from
|   364 |                                                              (EGLNativeDisplayType)egl->gbm->device, NULL);
|       |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                                              |
|       |                                                              int
| ../git/src/vrend_winsys_egl.c:364:62: note: expected 'void *' but argument is of type 'int'

Signed-off-by: default avatarPurushottam Choudhary <purushottam27.kumar@lge.com>
Part-of: <!1440>
parent f7b3f6a6
No related branches found
No related tags found
Loading
Pipeline #1285755 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment