Revert "mescc: Use unsigned type for sizeof expression."

This breaks tcc-boot0 on ARM.

This reverts commit fac6a873f7.
This commit is contained in:
Jan (janneke) Nieuwenhuizen 2022-09-13 19:36:42 +02:00
parent f87c49e19c
commit a958d7f86b
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 2 additions and 2 deletions

View File

@ -143,8 +143,8 @@
((type-name ,type) (ast->type type info))
((type-spec ,type) (ast->type type info))
((sizeof-expr ,expr) (get-type "unsigned" info))
((sizeof-type ,type) (get-type "unsigned" info))
((sizeof-expr ,expr) (get-type "default" info))
((sizeof-type ,type) (get-type "default" info))
((string ,string) (make-c-array (get-type "char" info) (1+ (string-length string))))