address compiler warnings

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10124 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shatty 2004-11-21 18:37:49 +00:00
parent a14ccd825e
commit 9ec6636cc9
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
$Id: BlockCacheConcurrencyTest.cpp,v 1.1 2003/09/07 11:53:03 bonefish Exp $
$Id: BlockCacheConcurrencyTest.cpp,v 1.2 2004/11/21 18:37:49 shatty Exp $
This file tests BBlockCache from multiple threads to ensure there are
no concurrency problems.
@ -170,7 +170,7 @@
if (isMallocTest) {
free(thePtr);
} else {
delete[] thePtr;
delete[] (uint8*)thePtr;
}
}

View File

@ -1,5 +1,5 @@
/*
$Id: BlockCacheExerciseTest.cpp,v 1.1 2003/09/07 11:53:03 bonefish Exp $
$Id: BlockCacheExerciseTest.cpp,v 1.2 2004/11/21 18:37:49 shatty Exp $
This file tests basic functionality of BBlockCache.
@ -274,7 +274,7 @@
if (isMallocTest) {
free(thePtr);
} else {
delete[] thePtr;
delete[] (uint8*)thePtr;
}
}