summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 06:43:43 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2014-05-25 06:43:43 +0200
commit9f909885184c48e3d9a5ef625b20ff61079341f5 (patch)
tree1730d16765c3dbd66e33698037e7bf46108e84b0
parent8b903a674f9a6ab3a74e127810d5e4e08bb84b2d (diff)
Fixing test.
-rw-r--r--tests/test-Handles.cc4
1 files changed, 2 insertions, 2 deletions
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);