aboutsummaryrefslogtreecommitdiffstats
path: root/liblss16_decode_strerror.c
diff options
context:
space:
mode:
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";