Commit 1a574942 authored by Yang Tse's avatar Yang Tse
Browse files

Fix variable initialization
parent a9a5a8e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";