SDL-1.2: atari:video:gem: Atari_get_EdDI_version() returns 16-bit int

From 91326583e04623738922dfc203e8a0ffcdfd354f Mon Sep 17 00:00:00 2001
From: Miro Kropacek <[EMAIL REDACTED]>
Date: Fri, 19 Apr 2019 20:47:04 +0200
Subject: [PATCH] atari:video:gem: Atari_get_EdDI_version() returns 16-bit int

---
 src/video/ataricommon/SDL_atarieddi_s.h | 2 +-
 src/video/gem/SDL_gemvideo.c            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/video/ataricommon/SDL_atarieddi_s.h b/src/video/ataricommon/SDL_atarieddi_s.h
index cd3e52466..f43586c76 100644
--- a/src/video/ataricommon/SDL_atarieddi_s.h
+++ b/src/video/ataricommon/SDL_atarieddi_s.h
@@ -49,6 +49,6 @@ enum {
 
 /*--- Functions ---*/
 
-unsigned long Atari_get_EdDI_version(void *function_pointer);
+unsigned short Atari_get_EdDI_version(void *function_pointer);
 
 #endif /* _SDL_Atari_eddi_s_h */
diff --git a/src/video/gem/SDL_gemvideo.c b/src/video/gem/SDL_gemvideo.c
index 2512f64af..c67a60aec 100644
--- a/src/video/gem/SDL_gemvideo.c
+++ b/src/video/gem/SDL_gemvideo.c
@@ -252,7 +252,7 @@ static void VDI_ReadNOVAInfo(_THIS, short *work_out)
 
 static void VDI_ReadExtInfo(_THIS, short *work_out)
 {
-	unsigned long EdDI_version;
+	unsigned short EdDI_version;
 	long cookie_EdDI;
 	Uint16 clut_type;