summaryrefslogtreecommitdiff
path: root/src/dged/s8.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/s8.h')
-rw-r--r--src/dged/s8.h4
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;
};