Change NC_ATT_INFO.len to size_t

Fixes about 20 warnings
This commit is contained in:
Peter Hill 2024-03-04 17:05:03 +00:00
parent 4f55d4c716
commit 04db10e5c1
No known key found for this signature in database
GPG Key ID: 0C6B9742E72848EE

View File

@ -162,7 +162,7 @@ typedef struct NC_ATT_INFO
{
NC_OBJ hdr; /**< The hdr contains the name and ID. */
struct NC_OBJ *container; /**< Pointer to containing group|var. */
int len; /**< Length of attribute data. */
size_t len; /**< Length of attribute data. */
nc_bool_t dirty; /**< True if attribute modified. */
nc_bool_t created; /**< True if attribute already created. */
nc_type nc_typeid; /**< NetCDF type of attribute's data. */