diff --git a/src/tests/kits/support/bblockcache/BlockCacheConcurrencyTest.cpp b/src/tests/kits/support/bblockcache/BlockCacheConcurrencyTest.cpp index 8a801d9be3..1c02e9ced9 100644 --- a/src/tests/kits/support/bblockcache/BlockCacheConcurrencyTest.cpp +++ b/src/tests/kits/support/bblockcache/BlockCacheConcurrencyTest.cpp @@ -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; } } diff --git a/src/tests/kits/support/bblockcache/BlockCacheExerciseTest.cpp b/src/tests/kits/support/bblockcache/BlockCacheExerciseTest.cpp index 666908357d..89d91484f9 100644 --- a/src/tests/kits/support/bblockcache/BlockCacheExerciseTest.cpp +++ b/src/tests/kits/support/bblockcache/BlockCacheExerciseTest.cpp @@ -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; } }