summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-12-16 16:18:38 +0000
committerMichael Drake <mdrake.unique@gmail.com>2022-12-16 16:32:48 +0000
commitca8b9c3784f1f0f074cff1e5474d4a16b80885c6 (patch)
tree4821dbcb1caa88c9d86e0ca85c11e617b557e598
parentccec86deb2d8063aa60b72cf0cc099c9990b6c24 (diff)
downloadlibnsgif-ca8b9c3784f1f0f074cff1e5474d4a16b80885c6.tar.gz
libnsgif-ca8b9c3784f1f0f074cff1e5474d4a16b80885c6.tar.bz2
gif: Remove unnecessary cast
-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) {