瀏覽代碼

aot-analyzer: Fix a few printf formats (#3590)

YAMAMOTO Takashi 1 年之前
父節點
當前提交
3d4d8e61f0
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test-tools/aot-analyzer/src/main.cc

+ 2 - 2
test-tools/aot-analyzer/src/main.cc

@@ -169,8 +169,8 @@ DumpInfo(AoTFile *aot)
            aot->GetExectuionMachineName(target_info.e_machine).c_str());
     printf("Exectuion version: %u\n", target_info.e_version);
     printf("Exectuion flags: %u\n", target_info.e_flags);
-    printf("Feature flags: %ld\n", target_info.feature_flags);
-    printf("Reserved: %ld\n", target_info.reserved);
+    printf("Feature flags: %" PRId64 "\n", target_info.feature_flags);
+    printf("Reserved: %" PRId64 "\n", target_info.reserved);
     printf("Arch: %s\n", target_info.arch);
 }