summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/encode/h264encode_x11.c2
-rw-r--r--test/putsurface/putsurface_x11.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/test/encode/h264encode_x11.c b/test/encode/h264encode_x11.c
index a30e667..7f9494c 100644
--- a/test/encode/h264encode_x11.c
+++ b/test/encode/h264encode_x11.c
@@ -93,7 +93,7 @@ static int display_surface(int frame_id, int *exit_encode)
}
}
- return;
+ return 0;
}
#include "h264encode_common.c"
diff --git a/test/putsurface/putsurface_x11.c b/test/putsurface/putsurface_x11.c
index 3912d1a..db503b4 100644
--- a/test/putsurface/putsurface_x11.c
+++ b/test/putsurface/putsurface_x11.c
@@ -161,6 +161,8 @@ static int check_window_event(void *win_display, void *drawable, int *width, int
printf("Scale window to %dx%d\n", width, height);
}
#endif
+
+ return 0;
}