summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2019-12-03 07:16:10 -0500
committerSolomon Peachy <pizza@shaftnet.org>2019-12-03 07:16:10 -0500
commite4a69d8df1b2e87f4ae04bcf0b997d77840fc856 (patch)
tree0f135cff2b71ede1fe3abedbd9c081a50cd1dae6
parent0f0b788f531236faf6ad6d1ab7e69867d2e21563 (diff)
downloadselphy_print-e4a69d8df1b2e87f4ae04bcf0b997d77840fc856.tar.gz
selphy_print-e4a69d8df1b2e87f4ae04bcf0b997d77840fc856.tar.bz2
selphy_print-e4a69d8df1b2e87f4ae04bcf0b997d77840fc856.zip
Fix boneheaded bug in lib70x code.
-rw-r--r--lib70x/libMitsuD70ImageReProcess.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib70x/libMitsuD70ImageReProcess.c b/lib70x/libMitsuD70ImageReProcess.c
index 609c3a0..0de31dc 100644
--- a/lib70x/libMitsuD70ImageReProcess.c
+++ b/lib70x/libMitsuD70ImageReProcess.c
@@ -48,7 +48,7 @@
*/
-#define LIB_VERSION "0.7.1"
+#define LIB_VERSION "0.7.2"
#include <stdio.h>
#include <stdint.h>
@@ -205,7 +205,7 @@ int CColorConv3D_Get3DColorTable(uint8_t *buf, const char *filename)
return 5;
}
fseek(stream, 0, SEEK_SET);
- rval = fread(buf, 1, LUT_LEN, stream);
+ rval = fread(buf, LUT_LEN, 1, stream);
fclose(stream);
return (rval != 1);