zigbee_wrapper: Use right enum type for result
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Fri, 24 Mar 2017 02:03:09 +0000 (03:03 +0100)
committerJoseph Morrow <joseph.l.morrow@intel.com>
Mon, 1 May 2017 02:38:50 +0000 (02:38 +0000)
This was discovered with clang on GNU/Linux

Change-Id: Ia6ae233bb4aadc4165c0115d986b4588bcec7885
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/19235
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
Reviewed-by: Joseph Morrow <joseph.l.morrow@intel.com>
plugins/zigbee_wrapper/src/zigbee_wrapper.c

index 6f96e02..af78824 100644 (file)
@@ -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;
 }