Skip to content

Commit 0ace9d8

Browse files
authored
Cast line_num to allow compilation with -WConversion
1 parent 3cbe499 commit 0ace9d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auto/run_test.erb

Lines changed: 1 addition & 1 deletion
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)