summaryrefslogtreecommitdiff
path: root/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'network.c')
-rw-r--r--network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.c b/network.c
index 6143c7925..0bee0b6db 100644
--- a/network.c
+++ b/network.c
@@ -1257,7 +1257,7 @@ static void NetworkGenerateUniqueId(void)
/* Generate the MD5 hash */
md5_init(&state);
- md5_append(&state, coding_string, strlen(coding_string));
+ md5_append(&state, (const md5_byte_t*)coding_string, strlen(coding_string));
md5_finish(&state, digest);
for (di = 0; di < 16; ++di)