Change the type from long to size_t for getting size 30/113530/1 accepted/tizen/common/20170214.173825 accepted/tizen/ivi/20170215.085814 accepted/tizen/mobile/20170215.085701 accepted/tizen/tv/20170215.085738 accepted/tizen/wearable/20170215.085758 submit/tizen/20170214.101511 submit/tizen_3.0/20170209.042219
authorSungbae Yoo <sungbae.yoo@samsung.com>
Wed, 8 Feb 2017 05:34:20 +0000 (14:34 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Wed, 8 Feb 2017 05:34:20 +0000 (14:34 +0900)
Change-Id: I2de1950a02073bc48d529b4572b37166cd6a7546
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
tools/apps/setup-wizard/src/util.c

index e2d094a..4813f33 100644 (file)
@@ -27,7 +27,7 @@ static char *__get_krate_metadata(void)
        char *res_path = NULL;
        char *metadata = NULL;
        char metadata_path[PATH_MAX] = "\0";
-       long fsize = 0;
+       size_t fsize = 0;
        int ret = -1;
 
        res_path = app_get_resource_path();