aboutsummaryrefslogtreecommitdiff
path: root/test/Parser/if-scope-c99.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/if-scope-c99.c')
-rw-r--r--test/Parser/if-scope-c99.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/if-scope-c99.c b/test/Parser/if-scope-c99.c
index 37cd0e15ab8e..b4cb51ca8c4f 100644
--- a/test/Parser/if-scope-c99.c
+++ b/test/Parser/if-scope-c99.c
@@ -2,7 +2,7 @@
int f (int z)
{
- if (z > sizeof (enum {a, b}))
+ if (z > (int) sizeof (enum {a, b}))
return a;
return b; // expected-error{{use of undeclared identifier}}
}