summaryrefslogtreecommitdiff
path: root/media-libs/coin/files/coin-3.1.3-gcc-7.patch
blob: c1f1f560d8519e21c0e22174fba606f1747ccf8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -urN Coin-3.1.3.orig/src/3ds/SoStream.cpp Coin-3.1.3/src/3ds/SoStream.cpp
--- Coin-3.1.3.orig/src/3ds/SoStream.cpp	2010-03-02 16:20:09.000000000 +0300
+++ Coin-3.1.3/src/3ds/SoStream.cpp	2017-07-23 15:04:43.808204691 +0300
@@ -176,7 +176,7 @@
   if (!gotNum) { setBadBit(); return FALSE; } \
  \
   char *ce; \
-  s = '\0'; \
+  s = NULL; \
   _convertType_ tempVal = _convertFunc_(buf, &ce, 0); \
  \
   if (ce != s) \
@@ -273,7 +273,7 @@
 gotAll: \
   \
   char *ce; \
-  s = '\0'; \
+  s = NULL; \
   double tempVal = _convertFunc_(buf, &ce); \
  \
   if (ce != s) \