projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61120b8
)
gl: glquery: cast to silence compiler warning
author
Havard Graff
<havard.graff@gmail.com>
Sat, 28 May 2016 19:36:04 +0000
(21:36 +0200)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:20 +0000
(19:32 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=766973
gst-libs/gst/gl/gstglquery.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglquery.c
b/gst-libs/gst/gl/gstglquery.c
index
45e6336
..
c59c19f
100644
(file)
--- a/
gst-libs/gst/gl/gstglquery.c
+++ b/
gst-libs/gst/gl/gstglquery.c
@@
-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);