diff options
author | Matthew Waters <ystreet00@gmail.com> | 2013-07-17 21:17:03 +1000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-07-19 09:56:52 +0200 |
commit | d810b3cc9e827a028c021aa258d8f8244861a7e8 (patch) | |
tree | 19ac030f022f0cee2cf38f54a2b322f879b661fe | |
parent | bc09d770240030f2dc3162258a76d9b2281a6100 (diff) |
download: fix compiler warning about missing string format
-rw-r--r-- | gst-libs/gst/gl/gstgldownload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst-libs/gst/gl/gstgldownload.c b/gst-libs/gst/gl/gstgldownload.c index c470099..a511db6 100644 --- a/gst-libs/gst/gl/gstgldownload.c +++ b/gst-libs/gst/gl/gstgldownload.c @@ -988,7 +988,8 @@ _init_download_shader (GstGLDisplay * display, GstGLDownload * download) sprintf (text_shader_ARGB, download->priv->ARGB, 'a', 'b', 'g', 'r'); break; default: - sprintf (text_shader_ARGB, text_shader_RGB_gles2); + memcpy (text_shader_ARGB, text_shader_RGB_gles2, + sizeof (text_shader_RGB_gles2)); break; } |