aboutsummaryrefslogtreecommitdiffstats
path: root/src/uri.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-21 01:48:53 +0000
committerDavid Robillard <d@drobilla.net>2011-01-21 01:48:53 +0000
commit235eef1849b96bad3697f44c022f7a4e986299ff (patch)
treeb181c227bdc2c12e18a0df9a10bd0e36a9ded96a /src/uri.c
parent8e86488fb0b644f95925d97dc8f25774e60da4c5 (diff)
downloadserd-235eef1849b96bad3697f44c022f7a4e986299ff.tar.gz
serd-235eef1849b96bad3697f44c022f7a4e986299ff.tar.bz2
serd-235eef1849b96bad3697f44c022f7a4e986299ff.zip
Make writer write to any sink passed in by the user.
git-svn-id: http://svn.drobilla.net/serd/trunk@20 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/uri.c')
-rw-r--r--src/uri.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uri.c b/src/uri.c
index 2d4fdc9f..9aac5313 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -366,7 +366,7 @@ serd_uri_string_length(const SerdURI* uri)
}
static size_t
-string_sink(const uint8_t* buf, size_t len, void* stream)
+string_sink(const void* buf, size_t len, void* stream)
{
uint8_t** ptr = (uint8_t**)stream;
memcpy(*ptr, buf, len);