diff options
author | John McCall <rjmccall@apple.com> | 2009-11-07 03:30:10 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-07 03:30:10 +0000 |
commit | 680523a91dd3351389667c8de17121ba7ae82673 (patch) | |
tree | 527a48bc13e3c747dc444e521e38a10a00a9fee1 /test/Analysis/array-struct.c | |
parent | c4df6d2c05c647a6a5770ba0c749782b6c023a3a (diff) |
Implement -Wconversion. Off by default, in the non-gcc group. There's
significant work left to be done to reduce the false-positive rate here.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86326 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/array-struct.c')
-rw-r--r-- | test/Analysis/array-struct.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Analysis/array-struct.c b/test/Analysis/array-struct.c index d6b6076a14..3137967be0 100644 --- a/test/Analysis/array-struct.c +++ b/test/Analysis/array-struct.c @@ -120,7 +120,7 @@ struct s1 { // building: a->e, e->d. Only then 'a' could be added to live region roots. void f13(double timeout) { struct s1 a; - a.e.d = (long) timeout; + a.e.d = (int) timeout; if (a.e.d == 10) a.e.d = 4; } |