summaryrefslogtreecommitdiff
path: root/test/testmmap.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-10-06 22:44:46 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-10-06 22:44:46 +0000
commit49cd8829f9550095702d9a421ba453745b388d0b (patch)
tree045da0e709d3f7c13e428eb532e17ca325a57837 /test/testmmap.c
parentb1be96fdcbf4456ed19ab90d48212083984c793c (diff)
downloadapr-49cd8829f9550095702d9a421ba453745b388d0b.tar.gz
Solve two sets of issues, only two possible changes, in one
batch commit; * P64 architectures require us to use ABTS_SIZE_EQUAL * We need to localize to TESTBINPATH for win32 git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@582544 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/testmmap.c')
-rw-r--r--test/testmmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/testmmap.c b/test/testmmap.c
index 69fc85c68..ff5e2a4b2 100644
--- a/test/testmmap.c
+++ b/test/testmmap.c
@@ -40,7 +40,7 @@ static apr_mmap_t *themmap = NULL;
static apr_file_t *thefile = NULL;
static char *file1;
static apr_finfo_t finfo;
-static int fsize;
+static apr_size_t fsize;
static void create_filename(abts_case *tc, void *data)
{
@@ -102,7 +102,7 @@ static void test_mmap_contents(abts_case *tc, void *data)
ABTS_PTR_NOTNULL(tc, themmap);
ABTS_PTR_NOTNULL(tc, themmap->mm);
- ABTS_INT_EQUAL(tc, fsize, themmap->size);
+ ABTS_SIZE_EQUAL(tc, fsize, themmap->size);
/* Must use nEquals since the string is not guaranteed to be NULL terminated */
ABTS_STR_NEQUAL(tc, themmap->mm, TEST_STRING, fsize);