From a01b28df576252495296368ce5e6100f89517134 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 19 Feb 2012 06:15:57 +0000 Subject: Fix URID forging. --- lv2/lv2plug.in/ns/ext/atom/forge.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lv2') 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)); } -- cgit v1.2.1