From 9f6835d06eda68f54329fde7ab3d18585627b67c Mon Sep 17 00:00:00 2001 From: Sungbae Yoo Date: Wed, 8 Feb 2017 14:34:20 +0900 Subject: [PATCH] Change the type from long to size_t for getting size Change-Id: I2de1950a02073bc48d529b4572b37166cd6a7546 Signed-off-by: Sungbae Yoo --- tools/apps/setup-wizard/src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/apps/setup-wizard/src/util.c b/tools/apps/setup-wizard/src/util.c index e2d094a..4813f33 100644 --- a/tools/apps/setup-wizard/src/util.c +++ b/tools/apps/setup-wizard/src/util.c @@ -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(); -- 2.7.4