[Bug 793688] New: Fix warning

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Feb 21 10:18:23 UTC 2018


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

            Bug ID: 793688
           Summary: Fix warning
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: don't know
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: arnaud.bonatti at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 368698
  --> https://bugzilla.gnome.org/attachment.cgi?id=368698&action=edit
Fix warning.

There’s a warning during the build, that makes GNOME Flatpak SDK master image
fail[1].

  gstgtkbasesink.c: In function ‘gst_gtk_base_sink_change_state’:
  gstgtkbasesink.c:399:16: error: assignment from incompatible pointer type
[-Werror=incompatible-pointer-types]
           window = g_object_ref (gtk_sink->window);
                  ^
  cc1: all warnings being treated as errors

Here is a simple cast patch that fixes it.

[1] warning, big!
http://sdkbuilder1.gnome.org/logs/build-2018-02-21-082201/build-gnome-sdk-images-master-x86_64.txt

-- 
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