diff options
Diffstat (limited to 'src/ntfsx.c')
-rw-r--r-- | src/ntfsx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ntfsx.c b/src/ntfsx.c index 4d6546b..6c4dd45 100644 --- a/src/ntfsx.c +++ b/src/ntfsx.c @@ -316,7 +316,7 @@ ntfsx_attribute* ntfsx_record_findattribute(ntfsx_record* record, uint32 attrTyp if(atlr->type == attrType) { /* Read in appropriate cluster */ - mftRecord = ntfsx_mftmap_sectorforindex(record->info->mftmap, atlr->refAttrib & UL(0xFFFFFFFFFFFF)); + mftRecord = ntfsx_mftmap_sectorforindex(record->info->mftmap, atlr->refAttrib & kNTFS_RefMask); r2 = ntfsx_record_alloc(record->info); if(!r2) |