Fixed build error in 64 bit profile 81/84381/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Thu, 18 Aug 2016 08:57:20 +0000 (17:57 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Thu, 18 Aug 2016 09:01:15 +0000 (18:01 +0900)
Change-Id: I2953c09c23801beff52ee69d2d0dafde48a2d8f2

src/sdk/sdk.cpp

index e7a305c..37757ec 100644 (file)
@@ -118,7 +118,7 @@ int iconv_string(const char *from, const char *to, const char *src, char *dst, s
     /* open iconv */
     cd = iconv_open(to, from);
     if (cd == (iconv_t)(-1)) {
-        return (int)cd;
+        return -1;
     }
 
     dstlen = outleftsize;