diff options
author | David Robillard <d@drobilla.net> | 2011-01-21 01:48:53 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-21 01:48:53 +0000 |
commit | 235eef1849b96bad3697f44c022f7a4e986299ff (patch) | |
tree | b181c227bdc2c12e18a0df9a10bd0e36a9ded96a /src/uri.c | |
parent | 8e86488fb0b644f95925d97dc8f25774e60da4c5 (diff) | |
download | serd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |