aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2009-02-07 00:23:52 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2009-02-07 00:23:52 +0000
commit392cf91c7b3270a9b27baa3c5b21a836f3330d98 (patch)
tree4634388606696f830d7db116625e6e04d9d75d9d
parent25d69b57ccef6e598d6a4cd8823ee24d56b2c9f7 (diff)
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
-rw-r--r--test/Sema/init.c4
1 files changed, 3 insertions, 1 deletions
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 <stdint.h>
+
typedef void (* fp)(void);
void foo(void);
@@ -104,5 +106,5 @@ struct foo2 {
};
struct foo2 bar2[] = {
- { (int)bbb }
+ { (intptr_t)bbb }
};