fix build error with cpp

This commit is contained in:
hathach committed 2017-01-25 01:28:05 +07:00
1 parent e9bf3775da
commit f661313702
1 file changed
+1 -1
@@ -52,7 +52,7 @@ extern "C" {
#define SVCALL(number, return_type, signature) return_type __svc(number) signature
#elif defined (__GNUC__)
#ifdef __cplusplus
#define GCC_CAST_CPP (uint8_t)
#define GCC_CAST_CPP (uint16_t)
#else
#define GCC_CAST_CPP
#endif