mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Addressed an issue in ncbytes where long unsigned ~= size_t
This commit is contained in:
parent
25d3d008f6
commit
0e336208da
@ -177,7 +177,7 @@ ncbytesextract(NCbytes* bb)
|
||||
}
|
||||
|
||||
int
|
||||
ncbytessetcontents(NCbytes* bb, void* contents, size_t alloc)
|
||||
ncbytessetcontents(NCbytes* bb, void* contents, unsigned long alloc)
|
||||
{
|
||||
if(bb == NULL) return ncbytesfail();
|
||||
ncbytesclear(bb);
|
||||
|
Loading…
Reference in New Issue
Block a user