summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2022-08-01 16:55:36 (GMT)
committerGitHub <noreply@github.com>2022-08-01 16:55:36 (GMT)
commit47fee5bfd711dd73b15c25abd962ab539e731ebe (patch)
tree559f520dc8198957a64be86e93f922088dbe396d
parent76bc0a77b1123273bd5b30ff5fb4f43643dd95df (diff)
downloadhdf5-47fee5bfd711dd73b15c25abd962ab539e731ebe.zip
hdf5-47fee5bfd711dd73b15c25abd962ab539e731ebe.tar.gz
hdf5-47fee5bfd711dd73b15c25abd962ab539e731ebe.tar.bz2
Removes (void *) cast from memset on Windows (#1957)
The comments claim this fixes an MSVC warning. Let's see if that's still true.
-rw-r--r--src/H5win32defs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/H5win32defs.h b/src/H5win32defs.h
index c027602..df4b0ee 100644
--- a/src/H5win32defs.h
+++ b/src/H5win32defs.h
@@ -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,