diff options
author | David Robillard <d@drobilla.net> | 2012-08-08 23:42:54 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-08 23:42:54 +0000 |
commit | c283edd147ac0785dadf57e2d7a681905b9b229f (patch) | |
tree | 1f49739df1f2c1eacc52801fdde999a5115e24b0 /src/serd_internal.h | |
parent | 1461865085504ba8cb41d1fb9c8738266c6537f7 (diff) | |
download | serd-c283edd147ac0785dadf57e2d7a681905b9b229f.tar.gz serd-c283edd147ac0785dadf57e2d7a681905b9b229f.tar.bz2 serd-c283edd147ac0785dadf57e2d7a681905b9b229f.zip |
Fix warnings: -Wshadow -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wmissing-prototypes.
git-svn-id: http://svn.drobilla.net/serd/trunk@374 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serd_internal.h')
-rw-r--r-- | src/serd_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/serd_internal.h b/src/serd_internal.h index 9a875daa..67e47e95 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -181,7 +181,7 @@ serd_bulk_sink_write(const void* buf, size_t len, SerdBulkSink* bsink) // Write as much as possible into the remaining buffer space memcpy(bsink->buf + bsink->size, buf, n); bsink->size += n; - buf = (uint8_t*)buf + n; + buf = (const uint8_t*)buf + n; len -= n; // Flush page if buffer is full |