diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-12-16 16:18:38 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-12-16 16:18:38 +0000 |
commit | c7c807ad44462583bd3a136e4a575418ab29e9de (patch) | |
tree | 4821dbcb1caa88c9d86e0ca85c11e617b557e598 | |
parent | 5368f2f0e929f83a090e68171c33aad6d9b3b3b2 (diff) | |
download | libnsgif-c7c807ad44462583bd3a136e4a575418ab29e9de.tar.gz |
gif: Remove unnecessary casttlsa/buffer-lengths
-rw-r--r-- | src/gif.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |