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