From 0cc61b2d30e934b0c9cb3ca77bf1bb20ae0ba592 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi <geek4civic@gmail.com> Date: Thu, 24 Sep 2015 02:49:00 +0000 Subject: [PATCH] clang/test/Analysis/malloc-overflow2.c: Appease 32-bit targets. size_t is not unsigned long for targeting i686 (and Windows x64). llvm-svn: 248458 --- clang/test/Analysis/malloc-overflow2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Analysis/malloc-overflow2.c b/clang/test/Analysis/malloc-overflow2.c index 93f0239fe097..83a2c02213b2 100644 --- a/clang/test/Analysis/malloc-overflow2.c +++ b/clang/test/Analysis/malloc-overflow2.c @@ -1,4 +1,4 @@ -// RUN: %clang_cc1 -analyze -analyzer-checker=alpha.security.MallocOverflow,unix -verify %s +// RUN: %clang_cc1 -triple x86_64-unknown-unknown -analyze -analyzer-checker=alpha.security.MallocOverflow,unix -verify %s typedef __typeof__(sizeof(int)) size_t; extern void *malloc(size_t);