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:
parent
d4b8820b1c
commit
9c006cf015
@ -20,7 +20,7 @@ public class OperatorSizeOf extends OperatorUnary {
|
||||
|
||||
@Override
|
||||
public SymbolType inferType(SymbolType operandType) {
|
||||
return SymbolType.BYTE;
|
||||
return SymbolType.WORD;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user