Merge "remove compile warning" into tizen accepted/tizen/tv/20150529.102322 submit/tizen/20150529.094059
authorMinkyu Kang <mk7.kang@samsung.com>
Tue, 26 May 2015 23:43:24 +0000 (16:43 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 26 May 2015 23:43:25 +0000 (16:43 -0700)
src/engine.cpp

index 1775d96..249606b 100644 (file)
@@ -197,8 +197,10 @@ bool _read_color(JsonReader *reader, gint64 *r, gint64 *g, gint64 *b)
 
 static void _string_to_uppercase(char *str)
 {
-       while (*str != '\0')
-               *(str++) = toupper(*str);
+       while (*str != '\0') {
+               *str = toupper(*str);
+               str++;
+       }
 }
 
 static char *_get_unique_id(const char *object_path, char *uuid)