File open-zwave.patch of Package openzwave

diff -urN open-zwave.orig/cpp/src/Utils.cpp open-zwave/cpp/src/Utils.cpp
--- open-zwave.orig/cpp/src/Utils.cpp	2021-07-14 21:12:06.849119198 +0200
+++ open-zwave/cpp/src/Utils.cpp	2021-07-14 21:30:09.039589538 +0200
@@ -167,7 +167,7 @@
 #if __cplusplus==201103L || __APPLE__
 			return to_string(x);
 #else
-			return static_cast< std::ostringstream & >( ( std::ostringstream() << std::dec << x ) ).str();
+			return reinterpret_cast< std::ostringstream & >( ( std::ostringstream() << std::dec << x ) ).str();
 #endif
 		}
 
openSUSE Build Service is sponsored by