Skip to content

Commit

Permalink
Cast line_num to allow compilation with -WConversion
Browse files Browse the repository at this point in the history
  • Loading branch information
astro-stan authored Apr 7, 2024
1 parent 3cbe499 commit 0ace9d8
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 0ace9d8

Please sign in to comment.