[Lldb-commits] [lldb] 16a6c10 - [lldb] Fix warning: comparison of integers of different signs
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 1 11:07:09 PDT 2024
Author: Jonas Devlieghere
Date: 2024-11-01T11:06:18-07:00
New Revision: 16a6c10bd485979ba2edf4b487d633230a9df01f
URL: https://github.com/llvm/llvm-project/commit/16a6c10bd485979ba2edf4b487d633230a9df01f
DIFF: https://github.com/llvm/llvm-project/commit/16a6c10bd485979ba2edf4b487d633230a9df01f.diff
LOG: [lldb] Fix warning: comparison of integers of different signs
Added:
Modified:
lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
Removed:
################################################################################
diff --git a/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp b/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
index 214de14f73ff9e..5f8cd5aef56b62 100644
--- a/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
+++ b/lldb/unittests/ScriptInterpreter/Lua/ScriptInterpreterTests.cpp
@@ -49,5 +49,6 @@ TEST_F(ScriptInterpreterTest, ExecuteOneLine) {
EXPECT_TRUE(script_interpreter.ExecuteOneLine("foo = 1", &result));
EXPECT_FALSE(script_interpreter.ExecuteOneLine("nil = foo", &result));
EXPECT_EQ(result.GetErrorString().find(
- "error: lua failed attempting to evaluate 'nil = foo'"), 0 );
+ "error: lua failed attempting to evaluate 'nil = foo'"),
+ 0U);
}
More information about the lldb-commits
mailing list