diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-17 17:38:03 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-17 17:38:03 +0100 |
| commit | e0ec3f0a536fabe0c8c47dd64da77855c0824adc (patch) | |
| tree | a009465731576dd8d0509f8c2f0c7023d1ddfbb7 /lib/io/io.h | |
| parent | 0e0f22cde8fa9a8c9e0ff509a90727092e0af58b (diff) | |
resolve Warnings
Diffstat (limited to 'lib/io/io.h')
| -rw-r--r-- | lib/io/io.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/io/io.h b/lib/io/io.h index b68a75d..06cc541 100644 --- a/lib/io/io.h +++ b/lib/io/io.h @@ -6,10 +6,10 @@ void wstd(const char *buf); void rstd(char *buf, unsigned long count); -void wstdf__(const char *buf, void **args); +void wstdf__(const char *buf, const void **args); #define wstdf(buf, ...) { \ - void *__wstdf__args__[] = { __VA_ARGS__ }; \ + const void *__wstdf__args__[] = { __VA_ARGS__ }; \ wstdf__(buf, __wstdf__args__); \ } |