Addressed an issue in ncbytes where long unsigned ~= size_t

This commit is contained in:
Ward Fisher 2021-11-04 10:10:28 -06:00
parent 25d3d008f6
commit 0e336208da

View File

@ -177,7 +177,7 @@ ncbytesextract(NCbytes* bb)
} }
int int
ncbytessetcontents(NCbytes* bb, void* contents, size_t alloc) ncbytessetcontents(NCbytes* bb, void* contents, unsigned long alloc)
{ {
if(bb == NULL) return ncbytesfail(); if(bb == NULL) return ncbytesfail();
ncbytesclear(bb); ncbytesclear(bb);