Fix a casting error in GCC 6

This commit is contained in:
Markus Kitsinger (SwooshyCueb) 2016-07-21 12:55:13 -05:00
parent ba3083b538
commit b6828f62cf
1 changed files with 1 additions and 1 deletions

View File

@ -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