diff options
Diffstat (limited to 'converter')
-rw-r--r-- | converter/ppm/tgatoppm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/converter/ppm/tgatoppm.c b/converter/ppm/tgatoppm.c index 884c57c8..7dc15cb8 100644 --- a/converter/ppm/tgatoppm.c +++ b/converter/ppm/tgatoppm.c @@ -115,10 +115,10 @@ getPixel(FILE * const ifP, int const size, gray * const alphaP) { - pixval red, grn, blu; - pixval alpha; + static pixval red, grn, blu; + static pixval alpha; + static unsigned int l; unsigned char j, k; - unsigned int l; /* Check if run length encoded. */ if (rlencoded) { |