diff options
author | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-25 04:04:01 +0000 |
---|---|---|
committer | Tobias Kortkamp <tobik@FreeBSD.org> | 2018-08-25 04:04:01 +0000 |
commit | 3887e2088ef66d7b37d68fff1c0bfa490d85312a (patch) | |
tree | 897e889d9219fc349025bd939ded1d9c58be8f8c /cad | |
parent | 14b8b6f1e855897cb78c45367bf7ecca668c9ca3 (diff) | |
download | ports-3887e2088ef66d7b37d68fff1c0bfa490d85312a.tar.gz ports-3887e2088ef66d7b37d68fff1c0bfa490d85312a.zip |
Notes
Diffstat (limited to 'cad')
-rw-r--r-- | cad/qmls/files/patch-qmls_cdl.cpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/cad/qmls/files/patch-qmls_cdl.cpp b/cad/qmls/files/patch-qmls_cdl.cpp new file mode 100644 index 000000000000..979a7080559a --- /dev/null +++ b/cad/qmls/files/patch-qmls_cdl.cpp @@ -0,0 +1,36 @@ +--- qmls/cdl.cpp.orig 2018-08-25 04:01:56 UTC ++++ qmls/cdl.cpp +@@ -125,7 +125,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + str = buf; + inputStack.Push(str); + index = 0; +@@ -175,7 +175,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + careStack.Push(atoi(buf)); + index = 0; + } +@@ -226,7 +226,7 @@ istream& operator>>(istream& ins, CanonicalDecimalList + case ',': + if (index != 0) + { +- buf[index] = (char)NULL; ++ buf[index] = '\0'; + dontCareStack.Push(atoi(buf)); + index = 0; + } +@@ -295,4 +295,4 @@ bool GetAlphaNumeric(istream& ins, char& ch) + return true; + } + return false; +-} +\ No newline at end of file ++} |