Fixed a harmless lapse with static array initialization
This commit is contained in:
parent
53b2d6dcd7
commit
79baab3fc9
@ -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…
Reference in New Issue
Block a user