summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gif.c b/src/gif.c
index 5f7e599..688fe12 100644
--- a/src/gif.c
+++ b/src/gif.c
@@ -1343,7 +1343,7 @@ static nsgif_error nsgif__process_frame(
return NSGIF_OK;
}
} else {
- pos = (uint8_t *)(gif->buf + gif->buf_pos);
+ pos = gif->buf + gif->buf_pos;
/* Check if we've finished */
if (pos < end && pos[0] == NSGIF_TRAILER) {