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 bd1959ea49..925cbb8905 100644
--- a/engines/sci/engine/heap.cpp
+++ b/engines/sci/engine/heap.cpp
@@ -118,7 +118,7 @@ heap_ptr heap_allocate(heap_t *h, int size) {
unsigned int current = previous;
if (!size) {
- error("Warning: heap_alloc'd zero bytes");
+ fprintf(stderr, "Warning: heap_alloc'd zero bytes!\n");
size += 2;
}