Fix all UBSAN warnings triggered by tests.
[tinc] / src / sptps.h
index f5686f4..1da0af8 100644 (file)
@@ -50,7 +50,7 @@ typedef struct sptps {
        bool datagram;
        int state;
 
-       char *inbuf;
+       uint8_t *inbuf;
        size_t buflen;
        uint16_t reclen;