From 3f2c4f00925be71f490cc2e685107a204be919f0 Mon Sep 17 00:00:00 2001 From: Soohye Shin Date: Tue, 26 May 2015 21:53:02 +0900 Subject: [PATCH] remove compile warning Change-Id: Ifa473a5f948e55d581352cdba97a50f525970af1 Signed-off-by: Soohye Shin --- src/engine.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine.cpp b/src/engine.cpp index 1775d96..249606b 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -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) -- 2.7.4