|
@@ -284,7 +284,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
if ((fd = Rast_open_cell_old(infile, "")) < 0)
|
|
|
G_fatal_error(_("Unable to open raster map <%s>"), infile);
|
|
|
- Rast_init_cats((CELL) 0, "", &cats);
|
|
|
+ Rast_init_cats("", &cats);
|
|
|
if (Rast_read_cats(map_opt->answer, "", &cats) < 0)
|
|
|
G_fatal_error(_("Unable to read category file of raster map <%s>"),
|
|
|
map_opt->answer);
|