aboutsummaryrefslogtreecommitdiffstats
path: root/src/lv2_evbuf.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-10 13:37:06 -0400
committerDavid Robillard <d@drobilla.net>2022-08-17 13:51:01 -0400
commit980e0aad7e87c08701958853792052fb78ed1900 (patch)
tree4d09a83a39469bb637dc7fcc4901003c65b98b6a /src/lv2_evbuf.c
parentc404b409073b65812b48c5048b64e01c594ad253 (diff)
downloadjalv-980e0aad7e87c08701958853792052fb78ed1900.tar.gz
jalv-980e0aad7e87c08701958853792052fb78ed1900.tar.bz2
jalv-980e0aad7e87c08701958853792052fb78ed1900.zip
Relax unnecessarily narrow types
Diffstat (limited to 'src/lv2_evbuf.c')
-rw-r--r--src/lv2_evbuf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lv2_evbuf.c b/src/lv2_evbuf.c
index d73b339..f19aac2 100644
--- a/src/lv2_evbuf.c
+++ b/src/lv2_evbuf.c
@@ -127,7 +127,7 @@ lv2_evbuf_get(LV2_Evbuf_Iterator iter,
uint32_t* subframes,
uint32_t* type,
uint32_t* size,
- uint8_t** data)
+ void** data)
{
*frames = *subframes = *type = *size = 0;
*data = NULL;
@@ -145,7 +145,7 @@ lv2_evbuf_get(LV2_Evbuf_Iterator iter,
*subframes = 0;
*type = aev->body.type;
*size = aev->body.size;
- *data = (uint8_t*)LV2_ATOM_BODY(&aev->body);
+ *data = LV2_ATOM_BODY(&aev->body);
return true;
}
@@ -156,7 +156,7 @@ lv2_evbuf_write(LV2_Evbuf_Iterator* iter,
uint32_t subframes,
uint32_t type,
uint32_t size,
- const uint8_t* data)
+ const void* data)
{
(void)subframes;