From: Sejun Park Date: Fri, 3 Jun 2016 06:15:00 +0000 (+0900) Subject: Fixed build error when compling with 64bit X-Git-Tag: submit/tizen/20160603.061849^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F72928%2F1;p=platform%2Fcore%2Fapi%2Fmediacodec.git Fixed build error when compling with 64bit Change-Id: I797f3e70800584e879999eea3ab3a7e3d17aee7c --- diff --git a/test/media_codec_test.c b/test/media_codec_test.c index 46996e8..15f10bb 100755 --- a/test/media_codec_test.c +++ b/test/media_codec_test.c @@ -117,9 +117,9 @@ struct _App { GMappedFile *file; guint8 *data; - gsize length; - guint64 offset; - guint obj; + gint length; + gint offset; + gint obj; GTimer *timer; long start; @@ -1016,7 +1016,7 @@ static gboolean read_data(App *app) g_print("---------------------------\n"); return FALSE; } - g_print("length : %d, offset : %d\n", (int)app->length, (int)app->offset); + g_print("length : %d, offset : %d\n", app->length, app->offset); if (app->offset + len > app->length) len = app->length - app->offset; @@ -1304,7 +1304,7 @@ static void input_filepath(char *filename, App *app) app->length = g_mapped_file_get_length(app->file); app->data = (guint8 *)g_mapped_file_get_contents(app->file); app->offset = 0; - g_print("len : %d, offset : %d, obj : %d", app->length, (int)app->offset, app->obj); + g_print("len : %d, offset : %d, obj : %d", app->length, app->offset, app->obj); return; }