From f661313702f2a1d21f67300bb5142531cb6053bc Mon Sep 17 00:00:00 2001 From: hathach Date: Wed, 25 Jan 2017 01:28:05 +0700 Subject: [PATCH] fix build error with cpp --- cores/nRF5/SDK/components/softdevice/s132/headers/nrf_svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/nRF5/SDK/components/softdevice/s132/headers/nrf_svc.h b/cores/nRF5/SDK/components/softdevice/s132/headers/nrf_svc.h index c6413f33..48ee128d 100644 --- a/cores/nRF5/SDK/components/softdevice/s132/headers/nrf_svc.h +++ b/cores/nRF5/SDK/components/softdevice/s132/headers/nrf_svc.h @@ -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