diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-05 18:14:26 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-05 18:14:26 (GMT) |
commit | 34eff2aae501e0276f58d2113c02d15b51fca7d8 (patch) | |
tree | ee23f90c1458653e680c2a1f088f8f6d071e2b95 /tools/src/h5import | |
parent | afd4b291315e39e3966eadaf8ae9894b30e9504e (diff) | |
download | hdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.zip hdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.tar.gz hdf5-34eff2aae501e0276f58d2113c02d15b51fca7d8.tar.bz2 |
Change some GCC warnings to errors. Fix code to quiet some warnings.
Diffstat (limited to 'tools/src/h5import')
-rw-r--r-- | tools/src/h5import/h5import.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5import/h5import.c b/tools/src/h5import/h5import.c index 1eef5ab..65c2359 100644 --- a/tools/src/h5import/h5import.c +++ b/tools/src/h5import/h5import.c @@ -1428,7 +1428,7 @@ static int processConfigurationFile(char *infile, struct Input *in) /* Initialize machine endian */ volatile uint32_t ibyte=0x01234567; /* 0 for big endian, 1 for little endian. */ - if ((*((uint8_t*)(&ibyte))) == 0x67) { + if ((*((volatile uint8_t*)(&ibyte))) == 0x67) { if ((kindex = OutputByteOrderStrToInt("LE")) == -1) { (void) HDfprintf(stderr, "%s", err11e); return (-1); |