summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-02-04 14:50:58 +0000
committerYang Tse <yangsita@gmail.com>2010-02-04 14:50:58 +0000
commit1a5749424b11b117b4a6c8732b6b959de14d1741 (patch)
treeae1721c3405ff7c4a801530001328224ce3db2f7
parenta9a5a8e45cf81bc3d0585ad6dd7144a4bd3a68d9 (diff)
downloadgnurl-1a5749424b11b117b4a6c8732b6b959de14d1741.tar.gz
gnurl-1a5749424b11b117b4a6c8732b6b959de14d1741.tar.bz2
gnurl-1a5749424b11b117b4a6c8732b6b959de14d1741.zip
Fix variable initialization
-rw-r--r--tests/libtest/lib557.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libtest/lib557.c b/tests/libtest/lib557.c
index c9400a60c..d09b567f2 100644
--- a/tests/libtest/lib557.c
+++ b/tests/libtest/lib557.c
@@ -219,7 +219,7 @@ static int test_signed_short_formatting(void)
#if (SIZEOF_SHORT == 1)
- i++; ss_test[i].num = 0x7F; ss_test[i].expected = "127";
+ i=1; ss_test[i].num = 0x7F; ss_test[i].expected = "127";
i++; ss_test[i].num = 0x70; ss_test[i].expected = "112";
i++; ss_test[i].num = 0x07; ss_test[i].expected = "7";