From ed0aefaf6c890a9d311fa56db09de9c892bb09ee Mon Sep 17 00:00:00 2001
From: twinaphex <libretro@gmail.com>
Date: Sat, 25 Mar 2017 01:31:04 +0100
Subject: [PATCH] Update deps/zlib/crc32.c

---
 deps/zlib/crc32.c                     | 2 +-
 libretro-common/include/compat/zlib.h | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/deps/zlib/crc32.c b/deps/zlib/crc32.c
index 800980d2c6..ece139a00e 100644
--- a/deps/zlib/crc32.c
+++ b/deps/zlib/crc32.c
@@ -82,7 +82,7 @@ extern "C" {
       return crc ^ 0xffffffffL;
    }
 
-   const z_crc_t FAR * ZEXPORT get_crc_table()
+   const uint32_t *get_crc_table(void)
    {
       return (const z_crc_t FAR *)crc_table;
    }
diff --git a/libretro-common/include/compat/zlib.h b/libretro-common/include/compat/zlib.h
index 43edeabfd8..f3de294d9b 100644
--- a/libretro-common/include/compat/zlib.h
+++ b/libretro-common/include/compat/zlib.h
@@ -1750,7 +1750,8 @@ ZEXTERN int ZEXPORT gzgetc_ OF((gzFile file));  /* backward compatibility */
 /* undocumented functions */
 ZEXTERN const char   * ZEXPORT zError           OF((int));
 ZEXTERN int            ZEXPORT inflateSyncPoint OF((z_streamp));
-ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table    OF((void));
+
+const uint32_t * get_crc_table(void);
 ZEXTERN int            ZEXPORT inflateUndermine OF((z_streamp, int));
 ZEXTERN int            ZEXPORT inflateResetKeep OF((z_streamp));
 ZEXTERN int            ZEXPORT deflateResetKeep OF((z_streamp));