mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-07 16:37:56 +08:00
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:
parent
76bc0a77b1
commit
47fee5bfd7
@ -58,7 +58,6 @@ struct timezone {
|
|||||||
#define HDisatty(F) _isatty(F)
|
#define HDisatty(F) _isatty(F)
|
||||||
#define HDlseek(F, O, W) _lseeki64(F, O, W)
|
#define HDlseek(F, O, W) _lseeki64(F, O, W)
|
||||||
#define HDlstat(S, B) _lstati64(S, B)
|
#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)
|
#define HDmkdir(S, M) _mkdir(S)
|
||||||
|
|
||||||
/* off_t exists on Windows, but is always a 32-bit long, even on 64-bit Windows,
|
/* off_t exists on Windows, but is always a 32-bit long, even on 64-bit Windows,
|
||||||
|
Loading…
Reference in New Issue
Block a user