From cf2fd623fc426fcb3c259c7e81ddb78eeaff92ed Mon Sep 17 00:00:00 2001 From: Rene Kita Date: Sat, 4 Sep 2021 12:49:32 +0200 Subject: [PATCH] Use cast to suppress warning --- terms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terms.c b/terms.c index ae42cbf..e272aab 100644 --- a/terms.c +++ b/terms.c @@ -737,7 +737,7 @@ save_first_animation_frame(const char *path) /* Header */ - if (len != st.st_size || strncmp(header, "GIF89a", 6) != 0) { + if (len != st.st_size || strncmp((char *)header, "GIF89a", 6) != 0) { return NULL; }