summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libimobiledevice-glue/socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libimobiledevice-glue/socket.h b/include/libimobiledevice-glue/socket.h
index fbb06da..0f68a71 100644
--- a/include/libimobiledevice-glue/socket.h
+++ b/include/libimobiledevice-glue/socket.h
@@ -63,7 +63,7 @@ LIMD_GLUE_API int socket_close(int fd);
LIMD_GLUE_API int socket_receive(int fd, void *data, size_t length);
LIMD_GLUE_API int socket_peek(int fd, void *data, size_t length);
LIMD_GLUE_API int socket_receive_timeout(int fd, void *data, size_t length, int flags, unsigned int timeout);
-LIMD_GLUE_API int socket_send(int fd, void *data, size_t length);
+LIMD_GLUE_API int socket_send(int fd, const void *data, size_t length);
LIMD_GLUE_API int socket_get_socket_port(int fd, uint16_t *port);