[Debichem-devel] Bug#1107330: openbabel: autopkgtest uses incredible amount of memory on s390x
Pranav P
pranav.p7 at ibm.com
Mon Jul 28 18:41:14 BST 2025
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
More information about the Debichem-devel
mailing list