Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bfb97f2

Browse files
author
Bas Vodde
committed
Fix a warning related to printing line numbers that is causing the build to fail
1 parent 8bd8aef commit bfb97f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CppUTest/TestRegistry.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ void TestRegistry::listTestLocations(TestResult& result)
135135
testLocation += ".";
136136
testLocation += test->getFile();
137137
testLocation += ".";
138-
testLocation += StringFromFormat("%d\n",test->getLineNumber());
138+
testLocation += StringFromFormat("%d\n",(int) test->getLineNumber());
139139

140140
testLocations += testLocation;
141141
}

0 commit comments

Comments
 (0)