aboutsummaryrefslogtreecommitdiffstats
path: root/lv2/lv2plug.in/ns/ext/atom
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-19 06:15:57 +0000
committerDavid Robillard <d@drobilla.net>2012-02-19 06:15:57 +0000
commita01b28df576252495296368ce5e6100f89517134 (patch)
treec6d183310b41d33832463901a9e3dfbb477f87b0 /lv2/lv2plug.in/ns/ext/atom
parentee0a6b46e0dc5d86fbafe2a44074b155b67fe700 (diff)
downloadlv2-a01b28df576252495296368ce5e6100f89517134.tar.xz
Fix URID forging.
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/forge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/forge.h b/lv2/lv2plug.in/ns/ext/atom/forge.h
index acfc6a8..9c553d2 100644
--- a/lv2/lv2plug.in/ns/ext/atom/forge.h
+++ b/lv2/lv2plug.in/ns/ext/atom/forge.h
@@ -275,7 +275,7 @@ lv2_atom_forge_bool(LV2_Atom_Forge* forge, bool val)
static inline LV2_Atom_URID*
lv2_atom_forge_urid(LV2_Atom_Forge* forge, LV2_URID id)
{
- const LV2_Atom_URID a = { { forge->Int32, sizeof(id) }, id };
+ const LV2_Atom_URID a = { { forge->URID, sizeof(id) }, id };
return (LV2_Atom_URID*)lv2_atom_forge_write(forge, &a, sizeof(a));
}