Use cast to suppress warning

This commit is contained in:
Rene Kita
2021-09-04 12:49:32 +02:00
parent d3ea4b33f1
commit cf2fd623fc

View File

@@ -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;
}