summaryrefslogtreecommitdiffstats
path: root/kernel/kls_ljpeg/ljpeg2ppm/util.c
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-15 01:54:43 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 01:54:43 +0200
commit29f338fe21b0fb066d05d1335e0562560ff1f4b1 (patch)
treed83f4fbf323e44ddbf303724f94199b2272939af /kernel/kls_ljpeg/ljpeg2ppm/util.c
parent512be3d17b531dd0f86dca60223cd220b735d28e (diff)
downloadlibksquirrel-29f338fe21b0fb066d05d1335e0562560ff1f4b1.tar.gz
libksquirrel-29f338fe21b0fb066d05d1335e0562560ff1f4b1.zip
Set a real data type used for FreeArray2D.
This relates to issue #17. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kernel/kls_ljpeg/ljpeg2ppm/util.c')
-rw-r--r--kernel/kls_ljpeg/ljpeg2ppm/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/util.c b/kernel/kls_ljpeg/ljpeg2ppm/util.c
index 9474291..9d86ac8 100644
--- a/kernel/kls_ljpeg/ljpeg2ppm/util.c
+++ b/kernel/kls_ljpeg/ljpeg2ppm/util.c
@@ -44,7 +44,7 @@
#include "mcu.h"
#include "proto.h"
-void FreeArray2D(char **);
+void FreeArray2D(MCU *);
void FixHuffTbl(HuffmanTable *);
unsigned int bitMask[] = { 0xffffffff, 0x7fffffff, 0x3fffffff, 0x1fffffff,
@@ -293,7 +293,7 @@ FixHuffTbl (htbl)
*/
void
FreeArray2D(arrayPtr)
- char **arrayPtr;
+ MCU *arrayPtr;
{
free(arrayPtr[0]);
free(arrayPtr);