elm_priv: change wearable profile variable type char to int 76/168076/2
authorSangHyeon Lee <sh10233.lee@samsung.com>
Wed, 24 Jan 2018 05:00:14 +0000 (14:00 +0900)
committerGerrit Code Review <gerrit@review.ap-northeast-2.compute.internal>
Wed, 24 Jan 2018 09:56:44 +0000 (09:56 +0000)
To identify unsigned value of wearable profile,
change variable type to int.

Change-Id: I00806d1dbe70c2bb8bd5b0e435dd816cad0bf80f
Signed-off-by: SangHyeon Lee <sh10233.lee@samsung.com>
src/lib/elementary/elm_priv.h
src/lib/elementary/tizen_util.c

index 7063f94..65391af 100644 (file)
@@ -880,8 +880,8 @@ efl_ui_dir_is_horizontal(Efl_Ui_Dir dir, Eina_Bool def_val)
 #define EAPI
 
 //TIZEN_ONLY(20170411): Tizen Profile Runtime Configurability
-extern char _tizen_profile_wearable;
-char tizen_util_probe_profile_wearable();
+extern int _tizen_profile_wearable;
+int tizen_util_probe_profile_wearable();
 #define TIZEN_PROFILE_WEARABLE (__builtin_expect(_tizen_profile_wearable != -1, 1)?_tizen_profile_wearable:tizen_util_probe_profile_wearable())
 //
 
index 45aa9a8..a619910 100644 (file)
@@ -5,9 +5,9 @@
 #include <Elementary.h>
 #include "elm_priv.h"
 
-char _tizen_profile_wearable = -1; /* Unknown */
+int _tizen_profile_wearable = -1; /* Unknown */
 
-char tizen_util_probe_profile_wearable()
+int tizen_util_probe_profile_wearable()
 {
    const char *profile_name;