From b6828f62cfda1921510ae37d8c3390640464157a Mon Sep 17 00:00:00 2001 From: "Markus Kitsinger (SwooshyCueb)" Date: Thu, 21 Jul 2016 12:55:13 -0500 Subject: [PATCH] Fix a casting error in GCC 6 --- fex/fex/blargg_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fex/fex/blargg_common.h b/fex/fex/blargg_common.h index 6b5370b6..885b41f6 100644 --- a/fex/fex/blargg_common.h +++ b/fex/fex/blargg_common.h @@ -12,7 +12,7 @@ typedef const char *blargg_err_t; // 0 on success, otherwise error string // Success; no error -int const blargg_ok = 0; +#define blargg_ok NULL // BLARGG_RESTRICT: equivalent to C99's restrict, where supported #if __GNUC__ >= 3 || _MSC_VER >= 1100