[Bug 774293] msvc: fix some warnings, disable others

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 15 12:47:06 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=774293

Jan Schmidt <thaytan at noraisin.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #339859|needs-work                  |accepted-commit_now
             status|                            |

--- Comment #38 from Jan Schmidt <thaytan at noraisin.net> ---
Review of attachment 339859:
 --> (https://bugzilla.gnome.org/review?bug=774293&attachment=339859)

::: gst/gstbuffer.c
@@ +2482,3 @@
   static const GstMetaInfo *meta_info = NULL;

+  if (g_once_init_enter ((GstMetaInfo **) & meta_info)) {

You've confused a pointer to a const and a const pointer. It's fine to modify a
pointer to a const thing.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list