Merge pull request #13 from SwooshyCueb/pr-4

Fix a casting error in GCC 6
This commit is contained in:
Zach Bacon 2016-07-22 22:09:17 -04:00 committed by GitHub
commit f86fafbe62
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