Use zu rather than llu format specifier for size_t (-Wformat warning fix).
authorEric Christopher <echristo@gmail.com>
Wed, 16 Sep 2020 22:52:50 +0000 (15:52 -0700)
committerEric Christopher <echristo@gmail.com>
Thu, 17 Sep 2020 02:28:05 +0000 (19:28 -0700)
lldb/source/Expression/REPL.cpp

index 1f2b009..c3d1496 100644 (file)
@@ -196,7 +196,7 @@ static bool ReadCode(const std::string &path, std::string &code,
   const size_t max_size = code.max_size();
   if (file_size > max_size) {
     error_sp->Printf("file at path '%s' too large: "
-                     "file_size = %llu, max_size = %llu\n",
+                     "file_size = %zu, max_size = %zu\n",
                      path.c_str(), file_size, max_size);
     return false;
   }