From 048987b4e95b70a4559b9163d90e57dd69097203 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Tue, 27 Jan 2004 18:35:29 +0000 Subject: Fixes and changes: - Handles Split MFT - Handles Windows XP formatted drives --- src/misc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/misc.c') diff --git a/src/misc.c b/src/misc.c index 5ea67cd..8939b73 100644 --- a/src/misc.c +++ b/src/misc.c @@ -65,7 +65,7 @@ void* _refadd_dbg(void* pBuff) { // Increment the counter value size_t* pMem = (size_t*)pBuff - 2; - assert(pMem[0] = kRefSig); + assert(pMem[0] == kRefSig); pMem[1]++; } @@ -87,7 +87,7 @@ void _refrelease_dbg(void* pBuff) { // Decrement the counter value size_t* pMem = (size_t*)pBuff - 2; - assert(pMem[0] = kRefSig); + assert(pMem[0] == kRefSig); if(!--pMem[1]) free(pMem); -- cgit v1.2.3