diff --git a/tools/qfcc/source/qc-parse.y b/tools/qfcc/source/qc-parse.y index b087c69df..cecf04866 100644 --- a/tools/qfcc/source/qc-parse.y +++ b/tools/qfcc/source/qc-parse.y @@ -327,7 +327,7 @@ default_type (specifier_t spec, symbol_t *sym) } else { if (spec.is_unsigned) { spec.type = &type_uint; - } else if (spec.is_signed) { + } else if (spec.is_signed || spec.is_short) { spec.type = &type_int; } }