diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-15 01:54:43 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-18 02:12:36 +0200 |
commit | 061a1af5ad8507faeb27034f3d2616d1c3cccce4 (patch) | |
tree | d83f4fbf323e44ddbf303724f94199b2272939af | |
parent | 4f4ea4c0abcfb5d68b9ff94bd75efb2fc73d470d (diff) | |
download | libksquirrel-061a1af5ad8507faeb27034f3d2616d1c3cccce4.tar.gz libksquirrel-061a1af5ad8507faeb27034f3d2616d1c3cccce4.zip |
Set a real data type used for FreeArray2D.
This relates to issue #17.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 29f338fe21b0fb066d05d1335e0562560ff1f4b1)
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c | 2 | ||||
-rw-r--r-- | kernel/kls_ljpeg/ljpeg2ppm/util.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c b/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c index c38c214..854e72e 100644 --- a/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c +++ b/kernel/kls_ljpeg/ljpeg2ppm/ljpgtopnm.c @@ -48,7 +48,7 @@ * input and output file pointers */ FILE *inFile, *outFile; -void FreeArray2D(char **); +void FreeArray2D(MCU *); void WritePmHeader(DecompressInfo dcInfo); 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); |