Skip to content

Commit c2637c5

Browse files
authored
Merge pull request #721 from sdimovv/patch-1
Cast line_num to allow compilation with `-WConversion`
2 parents 3cbe499 + 0ace9d8 commit c2637c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto/run_test.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
static void run_test(UnityTestFunction func, const char* name, UNITY_LINE_TYPE line_num)
33
{
44
Unity.CurrentTestName = name;
5-
Unity.CurrentTestLineNumber = line_num;
5+
Unity.CurrentTestLineNumber = (UNITY_UINT) line_num;
66
#ifdef UNITY_USE_COMMAND_LINE_ARGS
77
if (!UnityTestMatches())
88
return;

0 commit comments

Comments
 (0)