Correct copy&paste error.
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 3 Sep 2011 09:09:42 +0000 (11:09 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sat, 3 Sep 2011 09:09:42 +0000 (11:09 +0200)
The case above handles long long, this one is about unsigned long long.

main.c

diff --git a/main.c b/main.c
index f4a6f03..3aa815b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -950,7 +950,7 @@ static void init_types_and_adjust(void)
                set_typeprops_type(&props[ATOMIC_TYPE_LONGLONG], type_long_long);
 
        ir_type *type_unsigned_long_long = be_params->type_unsigned_long_long;
-       if (type_long_long != NULL)
+       if (type_unsigned_long_long != NULL)
                set_typeprops_type(&props[ATOMIC_TYPE_ULONGLONG], type_unsigned_long_long);
 
        /* operating system ABI specifics */