Removes (void *) cast from memset on Windows (#1957)

The comments claim this fixes an MSVC warning. Let's see if that's
still true.
This commit is contained in:
Dana Robinson 2022-08-01 09:55:36 -07:00 committed by GitHub
parent 76bc0a77b1
commit 47fee5bfd7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,6 @@ struct timezone {
#define HDisatty(F) _isatty(F)
#define HDlseek(F, O, W) _lseeki64(F, O, W)
#define HDlstat(S, B) _lstati64(S, B)
#define HDmemset(X, C, Z) memset((void *)(X), C, Z) /* Cast avoids MSVC warning */
#define HDmkdir(S, M) _mkdir(S)
/* off_t exists on Windows, but is always a 32-bit long, even on 64-bit Windows,