mirror of
https://gitlab.com/camelot/kickc.git
synced 2024-11-25 20:32:25 +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