Skip to content

Commit

Permalink
Fix build on respectful compilers
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 13, 2017
1 parent 6756662 commit 02a905c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libr/util/print.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,9 +1878,9 @@ R_API int r_print_jsondump(RPrint *p, const ut8 *buf, int len, int wordsize) {
if (!p || !buf || len < 1 || wordsize < 1) {
return 0;
}
int words = (len / wordsize);
int i, words = (len / wordsize);
p->cb_printf ("[");
for (int i = 0; i < words; i++) {
for (i = 0; i < words; i++) {
ut16 w16 = r_read_ble16 (&buf16[i], p->big_endian);
ut32 w32 = r_read_ble32 (&buf32[i], p->big_endian);
ut64 w64 = r_read_ble64 (&buf64[i], p->big_endian);
Expand Down

0 comments on commit 02a905c

Please sign in to comment.