Browse Source

Fixed a harmless lapse with static array initialization

release-1.5.4.branch
Thomas Schmitt 4 years ago
parent
commit
79baab3fc9
  1. 2
      libisofs/hfsplus_classes.c

2
libisofs/hfsplus_classes.c

@ -438,7 +438,7 @@ void make_hfsplus_class_pages()
uint16_t *rpt, *page_pt;
int page_count = 0;
memset(class_pages, 0, 19 * 256);
memset(class_pages, 0, 19 * 256 * sizeof(uint16_t));
for (i = 0; i < 256; i++)
hfsplus_class_pages[i] = NULL;

Loading…
Cancel
Save