From 7afac012c46f39d478e952eb286bda8d81ea5531 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 24 Mar 2017 03:03:09 +0100 Subject: [PATCH] zigbee_wrapper: Use right enum type for result This was discovered with clang on GNU/Linux Change-Id: Ia6ae233bb4aadc4165c0115d986b4588bcec7885 Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/19235 Tested-by: jenkins-iotivity Reviewed-by: Dan Mihai Reviewed-by: Joseph Morrow --- plugins/zigbee_wrapper/src/zigbee_wrapper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zigbee_wrapper/src/zigbee_wrapper.c b/plugins/zigbee_wrapper/src/zigbee_wrapper.c index 6f96e02..af78824 100644 --- a/plugins/zigbee_wrapper/src/zigbee_wrapper.c +++ b/plugins/zigbee_wrapper/src/zigbee_wrapper.c @@ -805,7 +805,7 @@ OCEntityHandlerResult getColourTemperatureFromString(const char* str, int64_t* o return OC_EH_ERROR; } } - OCStackResult result = getDoubleValueFromString(temp, (double *)outVal); + OCEntityHandlerResult result = getDoubleValueFromString(temp, (double *)outVal); OICFree(strstr); return result; } -- 2.7.4