@@ -230,7 +230,7 @@ HsInt builtin_wcwidth(HsChar ucs)
230230HsInt vty_mk_wcwidth(HsChar ch)
231231{
232232 if (custom_table != NULL) {
233− if (ch >= 0 && ch < custom_table_size) {
233+ if ((ch >= 0) && (ch < custom_table_size)) {
234234 return custom_table[ch];
235235 } else {
236236 return 0;