diff options
author | David Robillard <d@drobilla.net> | 2013-01-17 04:26:49 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2013-01-17 04:26:49 +0000 |
commit | 698d99776edae1d98201894c878f6e2c87d610ba (patch) | |
tree | b03c3a7f34f6af32f43c5506c8dac9356b3e8f06 /lv2/lv2plug.in/ns/ext/atom/util.h | |
parent | f226c11a22152f4f3dfb036d670c3e6656f069ac (diff) | |
download | lv2-698d99776edae1d98201894c878f6e2c87d610ba.tar.xz |
Fix lv2_atom_sequence_end().
Diffstat (limited to 'lv2/lv2plug.in/ns/ext/atom/util.h')
-rw-r--r-- | lv2/lv2plug.in/ns/ext/atom/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |