diff options
author | David Robillard <d@drobilla.net> | 2022-08-10 13:37:06 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:51:01 -0400 |
commit | 980e0aad7e87c08701958853792052fb78ed1900 (patch) | |
tree | 4d09a83a39469bb637dc7fcc4901003c65b98b6a /src/lv2_evbuf.c | |
parent | c404b409073b65812b48c5048b64e01c594ad253 (diff) | |
download | jalv-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.c | 6 |
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; |