From f59bdfec422c7db7f8f213120d0e877aa639328e Mon Sep 17 00:00:00 2001 From: huyx Date: Fri, 10 May 2024 16:22:50 +0800 Subject: [PATCH] update hdf_dbg Signed-off-by: huyx --- framework/tools/hdf_dbg/hdf_dbg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/tools/hdf_dbg/hdf_dbg.cpp b/framework/tools/hdf_dbg/hdf_dbg.cpp index 754dab779..a90308abd 100644 --- a/framework/tools/hdf_dbg/hdf_dbg.cpp +++ b/framework/tools/hdf_dbg/hdf_dbg.cpp @@ -98,7 +98,7 @@ static void PrintHelp() static int StrToInt(std::string tempstr) { - int32_t num = 0; + int32_t num = GET_INFO_FUNC_NUMS; if (std::all_of(tempstr.begin(), tempstr.end(), ::isdigit)) { num = std::stoi(tempstr); } -- Gitee