aboutsummaryrefslogtreecommitdiff
path: root/src/argument_parser.cpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-03-06 13:29:10 +0100
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:54 +0200
commit0854ebbc0720c1691f2de661c4ce3467b71746c6 (patch)
tree6bede8baea394711056db7109f395e71e880e03d /src/argument_parser.cpp
parenta285df324deb579d262ea7cf484de4d6b11b28e4 (diff)
refactor: replace unsigned int with uint32_t
Diffstat (limited to 'src/argument_parser.cpp')
-rw-r--r--src/argument_parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argument_parser.cpp b/src/argument_parser.cpp
index 5ad23d7..16945f7 100644
--- a/src/argument_parser.cpp
+++ b/src/argument_parser.cpp
@@ -30,7 +30,7 @@ std::string_view get_str_optarg()
* @param arg The current command-line argument character
* @param check_zero Whether or not to make sure that the result is not zero
*/
-unsigned int get_uint_optarg(char arg, bool check_zero = false)
+uint32_t get_uint_optarg(char arg, bool check_zero = false)
{
auto conversion_result = str_to_uint(get_str_optarg());