]> jfr.im git - irc/atheme/atheme.git/commitdiff
core/explicit_bzero: fix the type… again
authorMantas Mikulėnas <redacted>
Sun, 26 Apr 2015 00:15:09 +0000 (03:15 +0300)
committerMantas Mikulėnas <redacted>
Sun, 26 Apr 2015 00:15:09 +0000 (03:15 +0300)
libathemecore/explicit_bzero.c

index 686421b068d94b57e2ae119de6ca5354b2599ab9..c7f5cee01dbc7a1b5db9a85e5cc3779918c21dbf 100644 (file)
@@ -27,7 +27,7 @@ explicit_bzero(void *p, size_t n)
  * Indirect bzero through a volatile pointer to hopefully avoid
  * dead-store optimisation eliminating the call.
  */
-static void (* volatile ssh_memset)(void *, int, size_t) = memset;
+static void *(* volatile ssh_memset)(void *, int, size_t) = memset;
 
 void
 explicit_bzero(void *p, size_t n)