miss another typecast

This commit is contained in:
Wei-keng Liao 2018-06-15 17:30:30 -05:00
parent ab2dbc0d84
commit 547b7405e7

View File

@ -723,7 +723,7 @@ NC_check_vlens(NC3_INFO *ncp)
return NC_NOERR;
if (fIsSet(ncp->flags,NC_64BIT_DATA)) /* CDF-5 */
vlen_max = (size_t)X_INT64_MAX - 3; /* "- 3" handles rounded-up size */
vlen_max = X_INT64_MAX - 3; /* "- 3" handles rounded-up size */
else if (fIsSet(ncp->flags,NC_64BIT_OFFSET) && sizeof(off_t) > 4)
/* CDF2 format and LFS */
vlen_max = X_UINT_MAX - 3; /* "- 3" handles rounded-up size */