Fixed build error when compling with 64bit 28/72928/1 accepted/tizen/common/20160603.150948 accepted/tizen/ivi/20160603.070531 accepted/tizen/mobile/20160603.070609 accepted/tizen/tv/20160603.070425 accepted/tizen/wearable/20160603.070536 submit/tizen/20160603.061849
authorSejun Park <sejun79.park@samsung.com>
Fri, 3 Jun 2016 06:15:00 +0000 (15:15 +0900)
committerSejun Park <sejun79.park@samsung.com>
Fri, 3 Jun 2016 06:15:00 +0000 (15:15 +0900)
Change-Id: I797f3e70800584e879999eea3ab3a7e3d17aee7c

test/media_codec_test.c

index 46996e8866e443f1f3e18c08e1bd9fd298c75d45..15f10bbee2d2effc67d369bc7e9c9a3da73a3a0f 100755 (executable)
@@ -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;
 }