Blame SOURCES/thrift-char.patch

efa197
diff --git a/compiler/cpp/src/thrift/generate/t_delphi_generator.cc b/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
efa197
index d3ad76a32..eac46a6c7 100644
efa197
--- a/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
efa197
+++ b/compiler/cpp/src/thrift/generate/t_delphi_generator.cc
efa197
@@ -1062,7 +1062,7 @@ std::string t_delphi_generator::make_pascal_string_literal(std::string value) {
efa197
   }
efa197
 
efa197
   result << "'";
efa197
-  for (char const &c: value) {
efa197
+  for (signed char const c: value) {
efa197
     if( (c >= 0) && (c < 32)) {  // convert ctrl chars, but leave UTF-8 alone
efa197
       result << "#" << (int)c;  
efa197
     } else if (c == '\'') {