aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Gohman <sunfish@mozilla.com>2014-03-03 14:02:06 -0800
committerDan Gohman <sunfish@mozilla.com>2014-03-03 14:02:06 -0800
commitc47c5c350bcc03b35d9fd2cb2c374c562a4058ee (patch)
tree696e14648e5e2e85ee49b25df937185a97863292
parent76ad462b1882706edc7ed300f6d0cf6cb61b80c5 (diff)
Eliminate undefined behavior in test_sscanf_other_whitespace.in.
-rw-r--r--tests/core/test_sscanf_other_whitespace.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/core/test_sscanf_other_whitespace.in b/tests/core/test_sscanf_other_whitespace.in
index 467fa4f0..3ae23d92 100644
--- a/tests/core/test_sscanf_other_whitespace.in
+++ b/tests/core/test_sscanf_other_whitespace.in
@@ -1,8 +1,8 @@
#include <stdio.h>
int main() {
- short int x;
- short int y;
+ int x;
+ int y;
const char* buffer[] = {
"\t2\t3\t", /* TAB - horizontal tab */