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); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits