1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-27 09:31:18 +00:00

Removed support for auto-casting integers to pointers. Closes #659

This commit is contained in:
jespergravgaard 2021-05-11 13:40:56 +02:00
parent d4b8820b1c
commit 9c006cf015

View File

@ -20,7 +20,7 @@ public class OperatorSizeOf extends OperatorUnary {
@Override
public SymbolType inferType(SymbolType operandType) {
return SymbolType.BYTE;
return SymbolType.WORD;
}
}