diff options
author | pixel <pixel> | 2002-12-10 19:47:26 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-10 19:47:26 +0000 |
commit | 10ae629edf1f285a295df85664c075f58cf56a87 (patch) | |
tree | 087a6d6bae8781c610a03cf7d6e8cb52eb267543 /tile-convert.cpp | |
parent | 4cbd4b4b5331948d9cdc44292b7870bcfc5218bd (diff) |
Bleh
Diffstat (limited to 'tile-convert.cpp')
-rw-r--r-- | tile-convert.cpp | 2 |
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; |