summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen.c b/codegen.c
index b56a8b9..e3aa08b 100644
--- a/codegen.c
+++ b/codegen.c
@@ -314,7 +314,7 @@ static void gen_expr(Node *node, int to_tmp) {
if (opt_type_builtins && (node->is_sizeof || node->is_alignof)) {
decltmp(node->ty, to_tmp);
if (node->is_sizeof) printnoln("\tt%d = sizeof ( ", to_tmp);
- else printnoln("\tt%d = alignof ( ", to_tmp);
+ else printnoln("\tt%d = _Alignof ( ", to_tmp);
print_type(node->is_sizeof);
println(" ) ;");
return;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback