summaryrefslogtreecommitdiff
path: root/gps2udp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gps2udp.c')
-rw-r--r--gps2udp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gps2udp.c b/gps2udp.c
index 2575fba5..1af7f71f 100644
--- a/gps2udp.c
+++ b/gps2udp.c
@@ -118,7 +118,7 @@ static int send_udp (char *nmeastring, size_t ind)
buffer,
ind,
0,
- &remote[channel],
+ (const struct sockaddr *)&remote[channel],
(int)sizeof(remote));
if (status < (ssize_t)ind) {
(void)fprintf(stderr, "gps2udp: failed to send [%s] \n", nmeastring);