From 0854ebbc0720c1691f2de661c4ce3467b71746c6 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 6 Mar 2022 13:29:10 +0100 Subject: refactor: replace unsigned int with uint32_t --- src/conversion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conversion.cpp') diff --git a/src/conversion.cpp b/src/conversion.cpp index 5f9494f..26f2db2 100644 --- a/src/conversion.cpp +++ b/src/conversion.cpp @@ -3,7 +3,7 @@ #include #include -ConversionResult str_to_uint(const std::string_view &str) +ConversionResult str_to_uint(const std::string_view &str) { if (!ctre::match(str)) { @@ -29,5 +29,5 @@ ConversionResult str_to_uint(const std::string_view &str) return ConversionResult(false, 0U, "Out of range"); } - return ConversionResult(true, static_cast(num)); + return ConversionResult(true, static_cast(num)); } -- cgit v1.2.3-18-g5258