Parallel-NetCDF / PnetCDF

Source code repository of PnetCDF library and utilities
https://parallel-netcdf.github.io
Other
80 stars 23 forks source link

Bug caused by strict aliasing #65

Closed wkliao closed 4 years ago

wkliao commented 4 years ago

The solution is to use memcpy() instead of directly byte-swapping on the buffer pointed by a pointer. This PR solves the issue #55.