0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-01-19 15:42:17 +00:00
termux-packages/packages/lowdown/compats.c.patch
2023-04-11 05:20:44 +09:00

12 lines
354 B
Diff

--- a/compats.c
+++ b/compats.c
@@ -508,7 +508,7 @@
* Indirect memset 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)