]> git.meshlink.io Git - meshlink/blobdiff - src/sptps_speed.c
Ensure everything compiles with -Wall without giving warnings.
[meshlink] / src / sptps_speed.c
index 50db8b10aa4dd0a782ebf6d330d3d92affada7ac..19ac6263ce2b85e1c7c420026ecad8590d91204f 100644 (file)
@@ -34,13 +34,13 @@ bool send_meta(void *c, const char *msg , int len) { return false; }
 char *logfilename = NULL;
 struct timeval now;
 
-static bool send_data(void *handle, uint8_t type, const char *data, size_t len) {
+static bool send_data(void *handle, uint8_t type, const void *data, size_t len) {
        int fd = *(int *)handle;
        send(fd, data, len, 0);
        return true;
 }
 
-static bool receive_record(void *handle, uint8_t type, const char *data, uint16_t len) {
+static bool receive_record(void *handle, uint8_t type, const void *data, uint16_t len) {
        return true;
 }