X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=inline;f=crypto%2FLPdir_win.c;h=4ff514f8856bac927b97afbe84020d33906a137c;hb=f84f31fc36e1e4e0e647661b8ac410ee97ce77ce;hp=78a796de805a4a6a2e1f56ebaeddc65a9c81843d;hpb=b4faea50c35d92a67d1369355b49cc3efba78406;p=oweals%2Fopenssl.git diff --git a/crypto/LPdir_win.c b/crypto/LPdir_win.c index 78a796de80..4ff514f885 100644 --- a/crypto/LPdir_win.c +++ b/crypto/LPdir_win.c @@ -74,7 +74,7 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) errno = ENOMEM; return 0; } - memset(*ctx, '\0', sizeof(**ctx)); + memset(*ctx, 0, sizeof(**ctx)); if (directory[dirlen - 1] != '*') { extdirbuf = (char *)malloc(dirlen + 3);