aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/daemon/https/lgl/gc-libgcrypt.c2
-rw-r--r--src/daemon/https/lgl/memmem.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/daemon/https/lgl/gc-libgcrypt.c b/src/daemon/https/lgl/gc-libgcrypt.c
index 2a87d482..a51a7bb4 100644
--- a/src/daemon/https/lgl/gc-libgcrypt.c
+++ b/src/daemon/https/lgl/gc-libgcrypt.c
@@ -411,7 +411,7 @@ MHD_gc_hash_read (MHD_gc_hash_handle handle)
411 const char *digest; 411 const char *digest;
412 { 412 {
413 gcry_md_final (ctx->gch); 413 gcry_md_final (ctx->gch);
414 digest = gcry_md_read (ctx->gch, 0); 414 digest = (const char*) gcry_md_read (ctx->gch, 0);
415 } 415 }
416 416
417 return digest; 417 return digest;
diff --git a/src/daemon/https/lgl/memmem.c b/src/daemon/https/lgl/memmem.c
index 08e54742..0b756ea8 100644
--- a/src/daemon/https/lgl/memmem.c
+++ b/src/daemon/https/lgl/memmem.c
@@ -26,8 +26,6 @@
26# define __builtin_expect(expr, val) (expr) 26# define __builtin_expect(expr, val) (expr)
27#endif 27#endif
28 28
29#undef MHD_memmem
30
31/* Return the first occurrence of NEEDLE in HAYSTACK. */ 29/* Return the first occurrence of NEEDLE in HAYSTACK. */
32void * 30void *
33MHD_memmem (haystack, haystack_len, needle, needle_len) 31MHD_memmem (haystack, haystack_len, needle, needle_len)