Commit c401627793dd5d3740f30ec2fae809e71204a306

Ozkan Sezer 2021-10-31T08:14:50

testsurround.c: remove unnecessary libc includes and stdint.h types

diff --git a/test/testsurround.c b/test/testsurround.c
index 9cc4475..f1ec914 100644
--- a/test/testsurround.c
+++ b/test/testsurround.c
@@ -13,9 +13,6 @@
 /* Program to test surround sound audio channels */
 #include "SDL_config.h"
 
-#include <stdio.h>
-#include <stdlib.h>
-
 #include "SDL.h"
 
 static int total_channels;
@@ -97,7 +94,7 @@ void SDLCALL
 fill_buffer(void* unused, Uint8* stream, int len)
 {
     Sint16* buffer = (Sint16*)stream;
-    int samples = len / sizeof(int16_t);
+    int samples = len / sizeof(Sint16);
     static int total_samples = 0;
     int i;