mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-02-11 16:40:36 +08:00
re: GH Issue https://github.com/Unidata/netcdf-c/issues/806
Incorrect reference to byteswap8 in libdispatch/dfilter.c Change byteswap8 -> NC_byteswap8.
This commit is contained in:
parent
1d1dc317a0
commit
6633932fd4
@ -156,7 +156,7 @@ NC_parsefilterspec(const char* spec, unsigned int* idp, size_t* nparamsp, unsign
|
||||
/* convert to network byte order */
|
||||
memcpy(mem,&val64u,sizeof(mem));
|
||||
#ifdef WORDS_BIGENDIAN
|
||||
byteswap8(mem); /* convert big endian to little endian */
|
||||
NC_byteswap8(mem); /* convert big endian to little endian */
|
||||
#endif
|
||||
vector = (unsigned int*)mem;
|
||||
ulist[nparams++] = vector[0];
|
||||
|
Loading…
Reference in New Issue
Block a user