diff --git a/postproc/swscale.c b/postproc/swscale.c
index 2b0d585b1a823b12a6f7bd4e97f961368634332d..e4537f7bf2293c709ed5a6adcc0a044126a85033 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -1375,7 +1375,7 @@ static void initMMX2HScaler(int dstW, int xInc, uint8_t *funnyCode, int16_t *fil
 }
 #endif // ARCH_X86 || ARCH_X86_64
 
-static void globalInit(){
+static void globalInit(void){
     // generating tables:
     int i;
     for(i=0; i<768; i++){