Revert "mescc: Use unsigned type for sizeof expression."
This breaks tcc-boot0 on ARM.
This reverts commit fac6a873f7
.
This commit is contained in:
parent
25cbc48686
commit
7d183c2c98
|
@ -143,8 +143,8 @@
|
||||||
((type-name ,type) (ast->type type info))
|
((type-name ,type) (ast->type type info))
|
||||||
((type-spec ,type) (ast->type type info))
|
((type-spec ,type) (ast->type type info))
|
||||||
|
|
||||||
((sizeof-expr ,expr) (get-type "unsigned" info))
|
((sizeof-expr ,expr) (get-type "default" info))
|
||||||
((sizeof-type ,type) (get-type "unsigned" info))
|
((sizeof-type ,type) (get-type "default" info))
|
||||||
|
|
||||||
((string ,string) (make-c-array (get-type "char" info) (1+ (string-length string))))
|
((string ,string) (make-c-array (get-type "char" info) (1+ (string-length string))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue