aboutsummaryrefslogtreecommitdiff
path: root/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'expr.c')
-rw-r--r--expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expr.c b/expr.c
index 1ed040c..657e211 100644
--- a/expr.c
+++ b/expr.c
@@ -371,7 +371,7 @@ primaryexpr(struct scope *s)
else if (tolower(end[0]) == 'f' && !end[1])
e->type = &typefloat;
else if (tolower(end[0]) == 'l' && !end[1])
- e->type = &typelongdouble;
+ e->type = &typeldouble;
else
error(&tok.loc, "invalid floating constant suffix '%s'", *end);
} else {