From 8c333e6e07ed4ef27db10fd640c830d22797e3d1 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Wed, 5 Sep 2018 00:43:26 -0700 Subject: [PATCH] [posix-app] change GetReceiveSensitivity() return value to `int8_t` (#3017) --- src/posix/platform/radio_spinel.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/posix/platform/radio_spinel.hpp b/src/posix/platform/radio_spinel.hpp index 21f28bf46..a96821e1a 100644 --- a/src/posix/platform/radio_spinel.hpp +++ b/src/posix/platform/radio_spinel.hpp @@ -170,7 +170,7 @@ public: * @retval OT_ERROR_RESPONSE_TIMEOUT Failed due to no response received from the transceiver. * */ - uint8_t GetReceiveSensitivity(void) const { return mRxSensitivity; } + int8_t GetReceiveSensitivity(void) const { return mRxSensitivity; } /** * This method returns a reference to the transmit buffer.