aboutsummaryrefslogtreecommitdiff
path: root/src/mazerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mazerator.cpp')
-rw-r--r--src/mazerator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mazerator.cpp b/src/mazerator.cpp
index f74f952..a82bbaf 100644
--- a/src/mazerator.cpp
+++ b/src/mazerator.cpp
@@ -8,7 +8,7 @@
#include <random>
#include <string>
-void optarg_error(char arg, std::string error)
+void optarg_error(int arg, std::string error)
{
std::cout << "Error: Invalid option argument for -" << arg << ". " << error
<< std::endl;
@@ -33,7 +33,7 @@ void validate_start_coords(unsigned int start_x, unsigned int start_y, unsigned
* @param arg The command-line argument character
* @param check_zero Whether or not to make sure that the result is not zero
*/
-void parse_uint_arg(unsigned int *num_dst, char arg, bool check_zero = false)
+void parse_uint_arg(unsigned int *num_dst, int arg, bool check_zero = false)
{
try
{