mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
silence compile warning from -Wsign-conversion
This commit is contained in:
parent
dbb9be59d2
commit
8bf99abe77
@ -709,7 +709,7 @@ putNCvx_$1_$2(NC3_INFO* ncp, const NC_var *varp,
|
||||
remaining -= extent;
|
||||
if(remaining == 0)
|
||||
break; /* normal loop exit */
|
||||
offset += extent;
|
||||
offset += (off_t)extent;
|
||||
value += nput;
|
||||
|
||||
}
|
||||
@ -868,7 +868,7 @@ getNCvx_$1_$2(const NC3_INFO* ncp, const NC_var *varp,
|
||||
remaining -= extent;
|
||||
if(remaining == 0)
|
||||
break; /* normal loop exit */
|
||||
offset += extent;
|
||||
offset += (off_t)extent;
|
||||
value += nget;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user