Commit afe5baed authored by Sandeep Mistry's avatar Sandeep Mistry

Correct compile error

parent bd345e53
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment