Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikkempa committed Jul 27, 2020
1 parent 24d244e commit 4635b6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ int main(int argc, char **argv) {
{NULL, 0, NULL, 0}
};

std::uint64_t ram_use = 3584UL << 20;
std::uint64_t ram_use = ((std::uint64_t)3584 << 20);
std::string output_filename("");

// Parse command-line options.
Expand All @@ -165,7 +165,7 @@ int main(int argc, char **argv) {
{
bool ok = parse_number(optarg, &ram_use);
if (!ok) {
fprintf(stderr, "Error: parsing phrase length "
fprintf(stderr, "Error: parsing RAM limit"
"limit (%s) failed\n\n", optarg);
usage(EXIT_FAILURE);
}
Expand Down

0 comments on commit 4635b6f

Please sign in to comment.