glupload: fix build warning of [-Wincompatible-pointer-types]

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5913>
This commit is contained in:
Chao Guo 2024-01-11 17:46:01 +09:00 committed by GStreamer Marge Bot
parent 0cceb6f68f
commit c1a9b77a1a

View file

@ -2569,7 +2569,8 @@ _directviv_upload_perform_gl_thread (GstGLContext * context,
gl->BindTexture (GL_TEXTURE_2D, out_gl_mem->tex_id);
directviv->TexDirectVIVMap (GL_TEXTURE_2D, width, height,
gl_format, (void **) &unmap_data->map.data, &unmap_data->phys_addr);
gl_format, (void **) &unmap_data->map.data,
(GLuint *) & unmap_data->phys_addr);
directviv->TexDirectInvalidateVIV (GL_TEXTURE_2D);
}