summaryrefslogtreecommitdiff
path: root/tests/Mem_Map_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Mem_Map_Test.cpp')
-rw-r--r--tests/Mem_Map_Test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Mem_Map_Test.cpp b/tests/Mem_Map_Test.cpp
index a9e4b9054c0..54583b54c74 100644
--- a/tests/Mem_Map_Test.cpp
+++ b/tests/Mem_Map_Test.cpp
@@ -33,12 +33,12 @@ static const int NUM_LINES = 15;
static void
reverse_file (ACE_HANDLE file_handle,
char *array,
- int size)
+ size_t size)
{
int count = 0;
// LynxOS 3.0.0/PowerPC needs the volatile qualifier, with -O2
// optimization enabled and without ACE_HAS_INLINE.
- volatile int i = size;
+ volatile size_t i = size;
--i;
if (array[i] == '\0')