mirror of
https://gitlab.com/camelot/kickc.git
synced 2025-02-18 01:30:56 +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
|
@Override
|
||||||
public SymbolType inferType(SymbolType operandType) {
|
public SymbolType inferType(SymbolType operandType) {
|
||||||
return SymbolType.BYTE;
|
return SymbolType.WORD;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user