Get rid of compiler warning on 64-bit
diff --git a/Objects/stringlib/string_format.h b/Objects/stringlib/string_format.h
index 5803216..b81a7e3 100644
--- a/Objects/stringlib/string_format.h
+++ b/Objects/stringlib/string_format.h
@@ -621,10 +621,14 @@
at_end = self->str.ptr >= self->str.end;
len = self->str.ptr - start;
- if ((c == '}') && (at_end || (c != *self->str.ptr)))
- return (int)SetError("Single } encountered");
- if (at_end && c == '{')
- return (int)SetError("Single { encountered");
+ if ((c == '}') && (at_end || (c != *self->str.ptr))) {
+ SetError("Single } encountered");
+ return 0;
+ }
+ if (at_end && c == '{') {
+ SetError("Single { encountered");
+ return 0;
+ }
if (!at_end) {
if (c == *self->str.ptr) {
/* escaped } or {, skip it in the input */