diff options
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index fec2a1de..6f864f07 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -164,10 +164,10 @@ static void *call_thread(void *pd) | |||
164 | 164 | ||
165 | c_sleep(30); | 165 | c_sleep(30); |
166 | 166 | ||
167 | int16_t *PCM = calloc(960, sizeof(int16_t)); | 167 | int16_t *PCM = (int16_t *)calloc(960, sizeof(int16_t)); |
168 | uint8_t *video_y = calloc(800 * 600, sizeof(uint8_t)); | 168 | uint8_t *video_y = (uint8_t *)calloc(800 * 600, sizeof(uint8_t)); |
169 | uint8_t *video_u = calloc(800 * 600 / 4, sizeof(uint8_t)); | 169 | uint8_t *video_u = (uint8_t *)calloc(800 * 600 / 4, sizeof(uint8_t)); |
170 | uint8_t *video_v = calloc(800 * 600 / 4, sizeof(uint8_t)); | 170 | uint8_t *video_v = (uint8_t *)calloc(800 * 600 / 4, sizeof(uint8_t)); |
171 | 171 | ||
172 | time_t start_time = time(NULL); | 172 | time_t start_time = time(NULL); |
173 | 173 | ||