From f046260edecad8ad2592ec96b43b5548a77103e8 Mon Sep 17 00:00:00 2001 From: cadmic Date: Fri, 21 Jun 2024 19:22:49 -0700 Subject: [PATCH] Use CamelCase --- ZAPD/Main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ZAPD/Main.cpp b/ZAPD/Main.cpp index 3d91f2e0..19d10d7d 100644 --- a/ZAPD/Main.cpp +++ b/ZAPD/Main.cpp @@ -435,7 +435,7 @@ void Arg_CsFloatMode([[maybe_unused]] int& i, [[maybe_unused]] char* argv[]) } } -uint32_t parse_u32_hex(char* str) +uint32_t ParseU32Hex(char* str) { static_assert(sizeof(uint32_t) <= sizeof(unsigned long)); return (uint32_t)std::stoul(str, nullptr, 16); @@ -443,17 +443,17 @@ uint32_t parse_u32_hex(char* str) void Arg_BaseAddress(int& i, char* argv[]) { - Globals::Instance->baseAddress = parse_u32_hex(argv[++i]); + Globals::Instance->baseAddress = ParseU32Hex(argv[++i]); } void Arg_StartOffset(int& i, char* argv[]) { - Globals::Instance->startOffset = parse_u32_hex(argv[++i]); + Globals::Instance->startOffset = ParseU32Hex(argv[++i]); } void Arg_EndOffset(int& i, char* argv[]) { - Globals::Instance->endOffset = parse_u32_hex(argv[++i]); + Globals::Instance->endOffset = ParseU32Hex(argv[++i]); } int HandleExtract(ZFileMode fileMode, ExporterSet* exporterSet)