aboutsummaryrefslogtreecommitdiffstats
path: root/src/env.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-01-16 18:27:09 +0000
committerDavid Robillard <d@drobilla.net>2012-01-16 18:27:09 +0000
commite3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69 (patch)
treed3847f5fc36cc2e83b41fe04d35206afa04c179b /src/env.c
parent2d724f0e199f74201307cc161031afbd8dba4eb5 (diff)
downloadserd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.tar.gz
serd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.tar.bz2
serd-e3dcfd6ac49e2657fa8b7f707c4a01f20f40cc69.zip
Fix compilation on sane platforms.
git-svn-id: http://svn.drobilla.net/serd/trunk@292 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/env.c')
-rw-r--r--src/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.c b/src/env.c
index 65e867a1..8f0b4632 100644
--- a/src/env.c
+++ b/src/env.c
@@ -247,7 +247,7 @@ serd_env_expand_node(const SerdEnv* env,
const size_t len = prefix.len + suffix.len; // FIXME: UTF-8?
SerdNode ret = { NULL, len, len, 0, SERD_URI };
ret.buf = (uint8_t*)malloc(ret.n_bytes + 1);
- _snprintf((char*)ret.buf, ret.n_bytes + 1,
+ snprintf((char*)ret.buf, ret.n_bytes + 1,
"%s%s", prefix.buf, suffix.buf);
return ret;
}