mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
Updating .m4 file.
This commit is contained in:
parent
0d1f013bb7
commit
5e9fe31ae7
@ -179,7 +179,7 @@ swapn2b(void *dst, const void *src, size_t nn)
|
||||
*op++ = *(ip++ -1);
|
||||
nn -= 4;
|
||||
}
|
||||
while(nn-- != 0)
|
||||
while(nn-- > 0)
|
||||
{
|
||||
*op++ = *(++ip);
|
||||
*op++ = *(ip++ -1);
|
||||
@ -245,7 +245,7 @@ swapn4b(void *dst, const void *src, size_t nn)
|
||||
ip += 16;
|
||||
nn -= 4;
|
||||
}
|
||||
while(nn-- != 0)
|
||||
while(nn-- > 0)
|
||||
{
|
||||
op[0] = ip[3];
|
||||
op[1] = ip[2];
|
||||
|
Loading…
Reference in New Issue
Block a user