summaryrefslogtreecommitdiffstats
path: root/src/tests/gss-threads/gss-client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/gss-threads/gss-client.c')
-rw-r--r--src/tests/gss-threads/gss-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/gss-threads/gss-client.c b/src/tests/gss-threads/gss-client.c
index 08bac92ca4..1057c05c4e 100644
--- a/src/tests/gss-threads/gss-client.c
+++ b/src/tests/gss-threads/gss-client.c
@@ -112,7 +112,7 @@ static int get_server_info(host, port)
}
saddr.sin_family = hp->h_addrtype;
- memcpy((char *)&saddr.sin_addr, hp->h_addr, sizeof(saddr.sin_addr));
+ memcpy(&saddr.sin_addr, hp->h_addr, sizeof(saddr.sin_addr));
saddr.sin_port = htons(port);
return 0;
}