[Bug 797170] New: Android tutorials: Fix compile warnings

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 19 08:42:54 UTC 2018


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

            Bug ID: 797170
           Summary: Android tutorials: Fix compile warnings
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: documentation
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: h1g.z.ouroboros+github at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Fix compile warnings at tutorial-4.c and tutorial-5.c.

warning: initializing 'const jbyte *' (aka 'const signed char *') with an
expression of type 'const char *' converts between pointers to integer types
with different sign [-Wpointer-sign]
  const jbyte *char_uri = (*env)->GetStringUTFChars (env, uri, NULL);
               ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

warning: passing 'const jbyte *' (aka 'const signed char *') to parameter of
type 'const char *' converts between pointers to integer types with different
sign [-Wpointer-sign]
  (*env)->ReleaseStringUTFChars (env, uri, char_uri);

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