From 1545d7178e6f754ffe505eedfac7c9673fd5f25c Mon Sep 17 00:00:00 2001 From: Niema Moshiri Date: Tue, 5 Mar 2024 21:13:16 -0800 Subject: [PATCH] Reverted one variable type cast --- common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.cpp b/common.cpp index e50c4d7..fa2ba57 100644 --- a/common.cpp +++ b/common.cpp @@ -3,6 +3,6 @@ void rev_comp_inplace(std::string & s) { std::string tmp = s; size_t l = s.length(); for(size_t i = 0; i < l; ++i) { - s[i] = COMPLEMENT[(uint8_t)tmp[l-i-1]]; + s[i] = COMPLEMENT[(int)tmp[l-i-1]]; } }