aboutsummaryrefslogtreecommitdiffstats
path: root/include/lv2/event/event-helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lv2/event/event-helpers.h')
-rw-r--r--include/lv2/event/event-helpers.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/lv2/event/event-helpers.h b/include/lv2/event/event-helpers.h
index a9eb423..de386ca 100644
--- a/include/lv2/event/event-helpers.h
+++ b/include/lv2/event/event-helpers.h
@@ -9,8 +9,8 @@
<http://lv2plug.in/ns/ext/event>.
*/
-#include "lv2/core/attributes.h"
-#include "lv2/event/event.h"
+#include <lv2/core/attributes.h>
+#include <lv2/event/event.h>
#include <stdbool.h>
#include <stdint.h>
@@ -107,7 +107,8 @@ lv2_event_increment(LV2_Event_Iterator* iter)
return false;
}
- LV2_Event* const ev = (LV2_Event*)(iter->buf->data + iter->offset);
+ const LV2_Event* const ev =
+ (const LV2_Event*)(iter->buf->data + iter->offset);
iter->offset +=
lv2_event_pad_size((uint16_t)((uint16_t)sizeof(LV2_Event) + ev->size));