After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 797170 - Android tutorials: Fix compile warnings
Android tutorials: Fix compile warnings
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: documentation
git master
Other Windows
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-09-19 08:42 UTC by H1Gdev
Modified: 2018-09-19 09:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix compile warnings (3.57 KB, patch)
2018-09-19 08:46 UTC, H1Gdev
committed Details | Review

Description H1Gdev 2018-09-19 08:42:54 UTC
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);
Comment 1 H1Gdev 2018-09-19 08:46:44 UTC
Created attachment 373696 [details] [review]
Fix compile warnings
Comment 2 Sebastian Dröge (slomo) 2018-09-19 09:33:19 UTC
commit dc245b15871c01b62b037cf8a32d753e3773e063 (HEAD -> master)
Author: H1Gdev <h1g.z.ouroboros+github@gmail.com>
Date:   Wed Sep 19 17:37:37 2018 +0900

    Android tutorials: Fix compile warnings
    
    https://bugzilla.gnome.org/show_bug.cgi?id=797170