mask rather than 64-bit type.
Saves 20 bytes on compressed image.
+2013-10-21 Vladimir Serbinenko <phcoder@gmail.com>
+
+ * grub-core/fs/ntfs.c (grub_ntfs_iterate_dir): Use grub_uint8_t for
+ mask rather than 64-bit type.
+
+ Saves 20 bytes on compressed image.
+
2013-10-21 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/fs/ntfs.c (read_data): Move code for compressed data to ...
if (bitmap)
{
- grub_disk_addr_t v, i;
+ grub_disk_addr_t i;
+ grub_uint8_t v;
indx = grub_malloc (mft->data->idx_size << GRUB_NTFS_BLK_SHR);
if (indx == NULL)
goto done;
}
v <<= 1;
- if (v >= 0x100)
+ if (!v)
{
v = 1;
bitmap++;