Fix a casting error in GCC 6
This commit is contained in:
parent
ba3083b538
commit
b6828f62cf
|
@ -12,7 +12,7 @@
|
||||||
typedef const char *blargg_err_t; // 0 on success, otherwise error string
|
typedef const char *blargg_err_t; // 0 on success, otherwise error string
|
||||||
|
|
||||||
// Success; no error
|
// Success; no error
|
||||||
int const blargg_ok = 0;
|
#define blargg_ok NULL
|
||||||
|
|
||||||
// BLARGG_RESTRICT: equivalent to C99's restrict, where supported
|
// BLARGG_RESTRICT: equivalent to C99's restrict, where supported
|
||||||
#if __GNUC__ >= 3 || _MSC_VER >= 1100
|
#if __GNUC__ >= 3 || _MSC_VER >= 1100
|
||||||
|
|
Loading…
Reference in New Issue