File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ branches:
88 only :
99 - master
1010
11- script : make && ./unit && ./unit_chars && make clean && make DEBUG=1 && ./unit && ./unit_chars
11+ script : make && ./unit && ./unit_chars && make clean
Original file line number Diff line number Diff line change 88
99int issue21 () {
1010 size_t sz = 110 ;
11+ size_t i ;
1112 uint32_t * in = malloc (sz * sizeof (uint32_t ));
1213 uint32_t * out = malloc (sz * sizeof (uint32_t ));
13- for (size_t i = 0 ; i < sz ; ++ i )
14+ for (i = 0 ; i < sz ; ++ i )
1415 in [i ] = 255 ;
1516 uint32_t b = maxbits_length (in , sz );
1617 uint8_t * buf = malloc (simdpack_compressedbytes (sz , b ));
@@ -33,11 +34,12 @@ int issue21() {
3334}
3435
3536int issue21FOR () {
37+ size_t i ;
3638 size_t sz = 110 ;
3739 uint32_t * in = malloc (sz * sizeof (uint32_t ));
3840 uint32_t * out = malloc (sz * sizeof (uint32_t ));
3941 in [0 ] = 0 ;
40- for (size_t i = 1 ; i < sz ; ++ i )
42+ for (i = 1 ; i < sz ; ++ i )
4143 in [i ] = 255 ;
4244 uint32_t b = maxbits_length (in , sz );
4345 uint8_t * buf = malloc (simdpackFOR_compressedbytes (sz , b ));
You can’t perform that action at this time.
0 commit comments