projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a9a5a8e
)
Fix variable initialization
author
Yang Tse
<yangsita@gmail.com>
Thu, 4 Feb 2010 14:50:58 +0000
(14:50 +0000)
committer
Yang Tse
<yangsita@gmail.com>
Thu, 4 Feb 2010 14:50:58 +0000
(14:50 +0000)
tests/libtest/lib557.c
patch
|
blob
|
history
diff --git
a/tests/libtest/lib557.c
b/tests/libtest/lib557.c
index
c9400a6
..
d09b567
100644
(file)
--- 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";