diff options
| author | Albert Cervin <albert@acervin.com> | 2024-03-18 23:06:40 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2024-03-18 23:06:40 +0100 |
| commit | bea7258cd8a7fcc7b115cec466f70576bd55a1df (patch) | |
| tree | 77e2d597a1774a0f3861f19baef32a48f287b34c /src/dged/s8.h | |
| parent | d28f9791c5a95ea0edbcfa65ccdcf31592df4483 (diff) | |
| download | dged-bea7258cd8a7fcc7b115cec466f70576bd55a1df.tar.gz dged-bea7258cd8a7fcc7b115cec466f70576bd55a1df.tar.xz dged-bea7258cd8a7fcc7b115cec466f70576bd55a1df.zip | |
Fix clang build
Diffstat (limited to 'src/dged/s8.h')
| -rw-r--r-- | src/dged/s8.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dged/s8.h b/src/dged/s8.h index 76bcc34..5a2504e 100644 --- a/src/dged/s8.h +++ b/src/dged/s8.h @@ -4,10 +4,10 @@ #include <stdbool.h> #include <stdint.h> -#define s8(s) ((struct s8){s, strlen(s)}) +#define s8(s) ((struct s8){(uint8_t *)s, strlen(s)}) struct s8 { - char *s; + uint8_t *s; uint32_t l; }; |
