aboutsummaryrefslogtreecommitdiffstats
path: root/liblss16_decode_strerror.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2025-03-03 16:43:19 +0100
committerMattias Andrée <m@maandree.se>2025-03-03 16:44:37 +0100
commite114123df2a05650f0f7e34044c1e8f829c50a44 (patch)
tree48c408b469d5fc3f1acdf4468ad6f22da8a65370 /liblss16_decode_strerror.c
parentm (diff)
downloadliblss16-e114123df2a05650f0f7e34044c1e8f829c50a44.tar.gz
liblss16-e114123df2a05650f0f7e34044c1e8f829c50a44.tar.bz2
liblss16-e114123df2a05650f0f7e34044c1e8f829c50a44.tar.xz
misc
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'liblss16_decode_strerror.c')
-rw-r--r--liblss16_decode_strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblss16_decode_strerror.c b/liblss16_decode_strerror.c
index 3bd3c5a..cf2d8aa 100644
--- a/liblss16_decode_strerror.c
+++ b/liblss16_decode_strerror.c
@@ -5,7 +5,7 @@
const char *
liblss16_decode_strerror(enum liblss16_decode_error error)
{
- switch (error) {
+ switch ((int)error) {
case LIBLSS16_DECODE_TRUNCATED_MAGIC:
return "Short file: magic number truncated";