Browse Source

= util.c : bitmap_diffmap

master
Alex 'AdUser' Z 11 years ago
parent
commit
e79cc1a3e7
  1. 2
      src/util.c

2
src/util.c

@ -133,7 +133,7 @@ int rec_bitmap(db_t *db, rec_t *sample)
} }
for (i = 0; i < 16; i++) { for (i = 0; i < 16; i++) {
row = *(((uint16_t *) sample->data) + i); row = *(((uint16_t *) (&sample->data[OFF_BITMAP])) + i);
for (j = 0; j < 16; j++) { for (j = 0; j < 16; j++) {
putchar((row & 1) == 1 ? '1' : '0'); putchar((row & 1) == 1 ? '1' : '0');
row >>= 1; row >>= 1;

Loading…
Cancel
Save