Commit afe5baed authored by Sandeep Mistry's avatar Sandeep Mistry

Correct compile error

parent bd345e53
...@@ -52,7 +52,7 @@ extern "C" { ...@@ -52,7 +52,7 @@ extern "C" {
#define SVCALL(number, return_type, signature) return_type __svc(number) signature #define SVCALL(number, return_type, signature) return_type __svc(number) signature
#elif defined (__GNUC__) #elif defined (__GNUC__)
#ifdef __cplusplus #ifdef __cplusplus
#define GCC_CAST_CPP (uint8_t) #define GCC_CAST_CPP (uint16_t)
#else #else
#define GCC_CAST_CPP #define GCC_CAST_CPP
#endif #endif
......
...@@ -52,7 +52,7 @@ extern "C" { ...@@ -52,7 +52,7 @@ extern "C" {
#define SVCALL(number, return_type, signature) return_type __svc(number) signature #define SVCALL(number, return_type, signature) return_type __svc(number) signature
#elif defined (__GNUC__) #elif defined (__GNUC__)
#ifdef __cplusplus #ifdef __cplusplus
#define GCC_CAST_CPP (uint8_t) #define GCC_CAST_CPP (uint16_t)
#else #else
#define GCC_CAST_CPP #define GCC_CAST_CPP
#endif #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