diff options
Diffstat (limited to 'converter')
-rw-r--r-- | converter/other/winicon.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/converter/other/winicon.h b/converter/other/winicon.h index f6b623ba..9ede01f5 100644 --- a/converter/other/winicon.h +++ b/converter/other/winicon.h @@ -36,7 +36,8 @@ struct IconDir { uint16_t type; /* 1 */ uint16_t count; /* number of images in icon */ - struct IconDirEntry entries[1]; /* one entry for each image */ + unsigned int entriesAllocCt; /* # of allocated slots in 'entries'*/ + struct IconDirEntry * entries; /* one entry for each image */ }; /* BMP image structures */ |