mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Merge pull request #721 from sdimovv/patch-1
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