|
@@ -140,9 +140,9 @@ cell2stream(char* cellname, elevation_type T_max_value, long* nodata_count) {
|
|
|
/* close map files */
|
|
|
Rast_close (infd);
|
|
|
|
|
|
- G_debug(3, "nrows=%d ncols=%d stream_len()=%d", nrows, ncols,
|
|
|
+ G_debug(3, "nrows=%d ncols=%d stream_len()=%"PRI_OFF_T, nrows, ncols,
|
|
|
str->stream_len());
|
|
|
- assert(nrows * ncols == str->stream_len());
|
|
|
+ assert((off_t) nrows * ncols == str->stream_len());
|
|
|
rt_stop(rt);
|
|
|
stats->recordTime("reading raster map", rt);
|
|
|
|