From 9f909885184c48e3d9a5ef625b20ff61079341f5 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sun, 25 May 2014 06:43:43 +0200 Subject: Fixing test. --- tests/test-Handles.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-Handles.cc b/tests/test-Handles.cc index 389e22b..10b800d 100644 --- a/tests/test-Handles.cc +++ b/tests/test-Handles.cc @@ -139,12 +139,12 @@ void SimpleTaskTest::Do() { TAssert(s == i->getSize()); i->rseek(0, SEEK_SET); - char * buf1 = (char *) Balau::malloc(i->getSize()); + char * buf1 = (char *) malloc(i->getSize()); ssize_t r = i->read(buf1, s + 15); Printer::log(M_STATUS, "Read %zi bytes (instead of %" PRIi64 ")", r, s + 15); TAssert(i->isEOF()) - char * buf2 = (char *) Balau::malloc(i->getSize()); + char * buf2 = (char *) malloc(i->getSize()); i->rseek(0, SEEK_SET); TAssert(!i->isEOF()); TAssert(i->rtell() == 0); -- cgit v1.2.3