aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/heap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/engine/heap.cpp')
-rw-r--r--engines/sci/engine/heap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/heap.cpp b/engines/sci/engine/heap.cpp
index 35f7b7066e..b356172c16 100644
--- a/engines/sci/engine/heap.cpp
+++ b/engines/sci/engine/heap.cpp
@@ -116,7 +116,7 @@ heap_ptr heap_allocate(heap_t *h, int size) {
unsigned int current = previous;
if (!size) {
- fprintf(stderr, "Warning: heap_alloc'd zero bytes!\n");
+ error("Warning: heap_alloc'd zero bytes");
size += 2;
}