HDFGroup / hdf4

Official HDF4 Library Repository
Other
12 stars 24 forks source link

Fix a 4-byte swap that uses weird code #617

Closed derobins closed 5 months ago

derobins commented 5 months ago

The original code has a bizarre loop that included additional switch targets that could not be reached. This fix makes the 4-byte swap work like the much more reasonable 8-byte swap code in the same file.