summaryrefslogtreecommitdiff
path: root/compiler_and_linker/unsorted/CMachine.c
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-01-14 13:20:48 +0000
committerAsh Wolf <ninji@wuffs.org>2023-01-14 13:20:48 +0000
commit5f3c8265f2717f72d68d8eb170fbe2dd114d7b76 (patch)
tree9c35e496749b61b40c2c18626eb45bde75d74d06 /compiler_and_linker/unsorted/CMachine.c
parent00edfdb0d430d8bf1d2fc98cb226114ef271d993 (diff)
downloadMWCC-5f3c8265f2717f72d68d8eb170fbe2dd114d7b76.tar.gz
MWCC-5f3c8265f2717f72d68d8eb170fbe2dd114d7b76.zip
fix lots more bugs, add better logging
Diffstat (limited to 'compiler_and_linker/unsorted/CMachine.c')
-rw-r--r--compiler_and_linker/unsorted/CMachine.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler_and_linker/unsorted/CMachine.c b/compiler_and_linker/unsorted/CMachine.c
index 5849444..59344d7 100644
--- a/compiler_and_linker/unsorted/CMachine.c
+++ b/compiler_and_linker/unsorted/CMachine.c
@@ -24,9 +24,9 @@ TypeIntegral stunsignedlong = {TYPEINT, 4, IT_ULONG};
TypeIntegral stsignedlonglong = {TYPEINT, 8, IT_LONGLONG};
TypeIntegral stunsignedlonglong = {TYPEINT, 8, IT_ULONGLONG};
TypeIntegral stfloat = {TYPEFLOAT, 4, IT_FLOAT};
-TypeIntegral stshortdouble = {TYPEINT, 8, IT_SHORTDOUBLE};
-TypeIntegral stdouble = {TYPEINT, 8, IT_DOUBLE};
-TypeIntegral stlongdouble = {TYPEINT, 8, IT_LONGDOUBLE};
+TypeIntegral stshortdouble = {TYPEFLOAT, 8, IT_SHORTDOUBLE};
+TypeIntegral stdouble = {TYPEFLOAT, 8, IT_DOUBLE};
+TypeIntegral stlongdouble = {TYPEFLOAT, 8, IT_LONGDOUBLE};
static StructMember stVUC_unsignedchar15 = {NULL, (Type *) &stunsignedchar, NULL, 15, 0};
static StructMember stVUC_unsignedchar14 = {&stVUC_unsignedchar15, (Type *) &stunsignedchar, NULL, 14, 0};