diff --git a/legacy/emotion/src/bin/emotion_test_main.c b/legacy/emotion/src/bin/emotion_test_main.c index b6cfb96052..d35ca808ca 100644 --- a/legacy/emotion/src/bin/emotion_test_main.c +++ b/legacy/emotion/src/bin/emotion_test_main.c @@ -14,6 +14,7 @@ #include #include +#include typedef struct _Frame_Data Frame_Data; @@ -613,7 +614,7 @@ static void video_obj_signal_jump_cb(void *data, Evas_Object *o, const char *emission, const char *source) { Evas_Object *ov; - double pos, len; + double len; double x, y; ov = data; @@ -634,7 +635,7 @@ video_obj_signal_speed_cb(void *data, Evas_Object *o, const char *emission, cons edje_object_part_drag_value_get(o, source, &x, &y); spd = 255 * y; evas_object_color_set(ov, 255, 255, 255, spd); - snprintf(buf, sizeof(buf), "%i", spd); + snprintf(buf, sizeof(buf), "%.0f", spd); edje_object_part_text_set(o, "video_speed_txt", buf); } @@ -805,7 +806,6 @@ enter_idle(void *data) int main(int argc, char **argv) { - char *file; int i; if (main_start(argc, argv) < 1) return -1;