GNOME Bugzilla – Bug 797170
Android tutorials: Fix compile warnings
Last modified: 2018-09-19 09:33:25 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);
Created attachment 373696 [details] [review] Fix compile warnings
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