gl: glquery: cast to silence compiler warning

https://bugzilla.gnome.org/show_bug.cgi?id=766973
This commit is contained in:
Havard Graff 2016-05-28 21:36:04 +02:00 committed by Tim-Philipp Müller
parent 61120b8c86
commit c8eef7bf44

View file

@ -254,7 +254,8 @@ gst_gl_query_result (GstGLQuery * query)
gl = query->context->gl_vtable;
if (gl->GetQueryObjectui64v) {
gl->GetQueryObjectui64v (query->query_id, GL_QUERY_RESULT, &ret);
gl->GetQueryObjectui64v (query->query_id, GL_QUERY_RESULT,
(GLuint64 *) & ret);
} else {
guint tmp;
gl->GetQueryObjectuiv (query->query_id, GL_QUERY_RESULT, &tmp);