From 10ae629edf1f285a295df85664c075f58cf56a87 Mon Sep 17 00:00:00 2001 From: pixel Date: Tue, 10 Dec 2002 19:47:26 +0000 Subject: Bleh --- tile-convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tile-convert.cpp') 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; -- cgit v1.2.3