diff options
author | dzwdz | 2022-05-15 15:00:35 +0200 |
---|---|---|
committer | dzwdz | 2022-05-15 15:00:35 +0200 |
commit | 27d8fa24b875f2bbcc73dad0795519ef2f5e9cd7 (patch) | |
tree | 33774779c4b43c446808ca2052a63ac30aef10bc /src/shared/container/ring.h | |
parent | b35813737665afbbab0c226a2e6b1cb7406d4d40 (diff) |
shared/ring: use char* for the buffer
i don't think uint8_t can alias. char can
Diffstat (limited to 'src/shared/container/ring.h')
-rw-r--r-- | src/shared/container/ring.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/container/ring.h b/src/shared/container/ring.h index 434f6aa..219f4fb 100644 --- a/src/shared/container/ring.h +++ b/src/shared/container/ring.h @@ -3,7 +3,7 @@ #include <stdint.h> typedef struct { - void *buf; + char *buf; size_t capacity; size_t _head, _tail; } ring_t; |