From 0df6a5e963a79383d9882c724ff3eda3f4a705b1 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Wed, 17 Jul 2013 21:17:03 +1000 Subject: [PATCH] [776/906] download: fix compiler warning about missing string format --- gst-libs/gst/gl/gstgldownload.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstgldownload.c b/gst-libs/gst/gl/gstgldownload.c index c470099f4a..a511db641d 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; }