mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-07-03 07:46:53 +08:00
Cast line_num to allow compilation with -WConversion
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num)
|
||||
{
|
||||
Unity.CurrentTestName = name;
|
||||
Unity.CurrentTestLineNumber = line_num;
|
||||
Unity.CurrentTestLineNumber = (UNITY_UINT) line_num;
|
||||
#ifdef UNITY_USE_COMMAND_LINE_ARGS
|
||||
if (!UnityTestMatches())
|
||||
return;
|
||||
|
Reference in New Issue
Block a user