address compiler warnings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10124 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -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
|
This file tests BBlockCache from multiple threads to ensure there are
|
||||||
no concurrency problems.
|
no concurrency problems.
|
||||||
@@ -170,7 +170,7 @@
|
|||||||
if (isMallocTest) {
|
if (isMallocTest) {
|
||||||
free(thePtr);
|
free(thePtr);
|
||||||
} else {
|
} else {
|
||||||
delete[] thePtr;
|
delete[] (uint8*)thePtr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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.
|
This file tests basic functionality of BBlockCache.
|
||||||
|
|
||||||
@@ -274,7 +274,7 @@
|
|||||||
if (isMallocTest) {
|
if (isMallocTest) {
|
||||||
free(thePtr);
|
free(thePtr);
|
||||||
} else {
|
} else {
|
||||||
delete[] thePtr;
|
delete[] (uint8*)thePtr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user