Skip to content

Commit

Permalink
cast explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Aug 16, 2024
1 parent 18367f7 commit 1341366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion raster3d/r3.out.bin/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ int main(int argc, char *argv[])

if (snprintf(outfile, sizeof(outfile), "%s%s",
(parm.output->answer ? parm.output->answer : name),
(parm.output->answer ? "" : ".bin")) >= sizeof(outfile)) {
(parm.output->answer ? "" : ".bin")) >= (int)sizeof(outfile)) {
G_fatal_error(_("Output map name too long."));
}

Expand Down

0 comments on commit 1341366

Please sign in to comment.