From 9ec6636cc91291a3deeca26b36e6b1f78a4a7ad6 Mon Sep 17 00:00:00 2001 From: shatty Date: Sun, 21 Nov 2004 18:37:49 +0000 Subject: [PATCH] address compiler warnings git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10124 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- .../kits/support/bblockcache/BlockCacheConcurrencyTest.cpp | 4 ++-- src/tests/kits/support/bblockcache/BlockCacheExerciseTest.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; } }