aboutsummaryrefslogtreecommitdiffstats
path: root/lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-17 04:26:49 +0000
committerDavid Robillard <d@drobilla.net>2013-01-17 04:26:49 +0000
commit698d99776edae1d98201894c878f6e2c87d610ba (patch)
treeb03c3a7f34f6af32f43c5506c8dac9356b3e8f06 /lv2
parentf226c11a22152f4f3dfb036d670c3e6656f069ac (diff)
downloadlv2-698d99776edae1d98201894c878f6e2c87d610ba.tar.xz
Fix lv2_atom_sequence_end().
Diffstat (limited to 'lv2')
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl8
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/manifest.ttl2
-rw-r--r--lv2/lv2plug.in/ns/ext/atom/util.h2
3 files changed, 10 insertions, 2 deletions
diff --git a/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl b/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl
index 4583701..dce66ba 100644
--- a/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl
+++ b/lv2/lv2plug.in/ns/ext/atom/lv2-atom.doap.ttl
@@ -12,6 +12,14 @@
doap:created "2007-00-00" ;
doap:developer <http://drobilla.net/drobilla#me> ;
doap:release [
+ doap:revision "1.3" ;
+ doap:created "2013-01-16" ;
+ dcs:changeset [
+ dcs:item [
+ rdfs:label "Fix lv2_atom_sequence_end()."
+ ]
+ ]
+ ] , [
doap:revision "1.2" ;
doap:created "2012-10-14" ;
doap:file-release <http://lv2plug.in/spec/lv2-1.2.0.tar.bz2> ;
diff --git a/lv2/lv2plug.in/ns/ext/atom/manifest.ttl b/lv2/lv2plug.in/ns/ext/atom/manifest.ttl
index 6a10826..f6541c4 100644
--- a/lv2/lv2plug.in/ns/ext/atom/manifest.ttl
+++ b/lv2/lv2plug.in/ns/ext/atom/manifest.ttl
@@ -4,5 +4,5 @@
<http://lv2plug.in/ns/ext/atom>
a lv2:Specification ;
lv2:minorVersion 1 ;
- lv2:microVersion 2 ;
+ lv2:microVersion 3 ;
rdfs:seeAlso <atom.ttl> .
diff --git a/lv2/lv2plug.in/ns/ext/atom/util.h b/lv2/lv2plug.in/ns/ext/atom/util.h
index ac5eb2f..d247ad8 100644
--- a/lv2/lv2plug.in/ns/ext/atom/util.h
+++ b/lv2/lv2plug.in/ns/ext/atom/util.h
@@ -83,7 +83,7 @@ lv2_atom_sequence_begin(const LV2_Atom_Sequence_Body* body)
static inline LV2_Atom_Event*
lv2_atom_sequence_end(const LV2_Atom_Sequence_Body* body, uint32_t size)
{
- return (LV2_Atom_Event*)(body + lv2_atom_pad_size(size));
+ return (LV2_Atom_Event*)((uint8_t*)body + lv2_atom_pad_size(size));
}
/** Return true iff @p i has reached the end of @p body. */