vec: switch to pointer to u8 instead of void pointer for vec_data

No issues with indexing this by byte, right?
This commit is contained in:
2026-02-03 18:55:28 +00:00
parent 0162dcc709
commit 698b2b96b1
3 changed files with 7 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ void vec_free(vec_t *vec)
memset(vec, 0, sizeof(*vec));
}
void *vec_data(vec_t *vec)
u8 *vec_data(vec_t *vec)
{
return vec->not_inlined ? vec->ptr : vec->inlined;
}