diff --git a/ASTree.cpp b/ASTree.cpp index 2ce699a..0158cc5 100644 --- a/ASTree.cpp +++ b/ASTree.cpp @@ -2713,7 +2713,7 @@ void print_src(PycRef node, PycModule* mod) bool print_docstring(PycRef obj, int indent, PycModule* mod) { // docstrings are translated from the bytecode __doc__ = 'string' to simply '''string''' - char prefix = -1; + signed char prefix = -1; if (obj->type() == PycObject::TYPE_STRING) prefix = mod->majorVer() == 3 ? 'b' : 0; else if (obj->type() == PycObject::TYPE_UNICODE)