From: Sebastian Redl Date: Sat, 7 Feb 2009 00:23:52 +0000 (+0000) Subject: Use our new snazzy stdint.h to make a testcase 64-bit portable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=392cf91c7b3270a9b27baa3c5b21a836f3330d98;p=clang Use our new snazzy stdint.h to make a testcase 64-bit portable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@63985 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Sema/init.c b/test/Sema/init.c index 3c8f3fe134..900749f119 100644 --- a/test/Sema/init.c +++ b/test/Sema/init.c @@ -1,5 +1,7 @@ // RUN: clang %s -verify -fsyntax-only +#include + typedef void (* fp)(void); void foo(void); @@ -104,5 +106,5 @@ struct foo2 { }; struct foo2 bar2[] = { - { (int)bbb } + { (intptr_t)bbb } };