py: Allow to compile with extra warnings (sign-compare, unused-param).

This commit is contained in:
Damien George
2015-03-19 00:21:29 +00:00
parent 02894b51f4
commit 2e2e404ff7
5 changed files with 16 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi
has_double_quote = true;
}
}
int quote_char = '\'';
unichar quote_char = '\'';
if (has_single_quote && !has_double_quote) {
quote_char = '"';
}