[Debian-iot-packaging] [openzwave-controlpanel] 35/81: Fix compiler errors with new ValueRaw

Dara Adib daradib-guest at moszumanska.debian.org
Thu Dec 22 16:57:49 UTC 2016


This is an automated email from the git hooks/post-receive script.

daradib-guest pushed a commit to branch debian/master
in repository openzwave-controlpanel.

commit 80473515ac00ebe47191d1f046efc225f2cccbbf
Author: glsatz <glsatz at gmail.com>
Date:   Tue Jan 15 07:34:10 2013 +0000

    Fix compiler errors with new ValueRaw
---
 zwavelib.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/zwavelib.cpp b/zwavelib.cpp
index 5b0e856..9013809 100644
--- a/zwavelib.cpp
+++ b/zwavelib.cpp
@@ -91,6 +91,8 @@ const char *valueTypeStr (ValueID::ValueType vt)
     return "short";
   case ValueID::ValueType_Button:
     return "button";
+  case ValueID::ValueType_Raw:
+    return "raw";
   }
   return "unknown";
 }
@@ -115,6 +117,8 @@ ValueID::ValueType valueTypeNum (char const *str)
     return ValueID::ValueType_String;
   else if (strcmp(str, "button") == 0)
     return ValueID::ValueType_Button;
+  else if (strcmp(str, "raw") == 0)
+    return ValueID::ValueType_Raw;
   else
     return (ValueID::ValueType)255;
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-iot/openzwave-controlpanel.git



More information about the Debian-iot-packaging mailing list