[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Bug#1107330: openbabel: autopkgtest uses incredible amount of memory on s390x



Hi Paul,

Sorry. I had typed in `unsigned char` in the previous mail instead of `signed char`.
The following is the git diff.

diff --git a/src/formats/getinchi.cpp b/src/formats/getinchi.cpp
index abda0a244..58c53cdac 100644
--- a/src/formats/getinchi.cpp
+++ b/src/formats/getinchi.cpp
@@ -159,7 +159,7 @@ string GetInChI(istream& is)
   string result;
   enum statetype {before_inchi, match_inchi, unquoted, quoted};
   statetype state = before_inchi;
-  char ch, lastch=0, qch=0;
+  signed char ch, lastch=0, qch=0;
   size_t split_pos = 0;
   bool inelement=false, afterelement=false;

Thanks,
Pranav


Reply to: