Skip to content

Commit

Permalink
Merge pull request #1 from AliHaider93/AliHaider93-patch-1
Browse files Browse the repository at this point in the history
Update k-g.cpp
  • Loading branch information
AliHaider93 authored Mar 31, 2024
2 parents 94046a8 + 5ba18bc commit a1a73f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conv/k-g.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ main(int argc, char **argv)
bu_exit(1, "Error: file %s already exists.\n", argv[1]);
}

std::ifstream infile(argv[0]);
std::ifstream infile(argv[0], std::ios::binary);
if (!infile.is_open()) {
bu_exit(1, "Error: unable to open %s for reading.\n", argv[0]);
}
Expand Down

0 comments on commit a1a73f1

Please sign in to comment.