summaryrefslogtreecommitdiff
path: root/tile-convert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tile-convert.cpp')
-rw-r--r--tile-convert.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tile-convert.cpp b/tile-convert.cpp
index fc1cf69..86d6612 100644
--- a/tile-convert.cpp
+++ b/tile-convert.cpp
@@ -120,7 +120,7 @@ virtual int startup() throw (GeneralException) {
Output * tga = new Output(argv[optind + 1]);
Image * img = new Image(IMG_SX, IMG_SY);
- char buffer[131072];
+ char * buffer = (char *) malloc(IMG_SX * IMG_SY);
Byte b;