Skip to content

Commit

Permalink
Merge pull request #721 from sdimovv/patch-1
Browse files Browse the repository at this point in the history
Cast line_num to allow compilation with `-WConversion`
  • Loading branch information
mvandervoord authored Apr 8, 2024
2 parents 3cbe499 + 0ace9d8 commit c2637c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto/run_test.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c2637c5

Please sign in to comment.