diff options
author | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-02 14:25:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2014-05-02 14:25:28 +0000 |
commit | df4d9e9f6560210a22158e320abd398e2c3bcf38 (patch) | |
tree | c496419ff2bb838a03b9ddef30d94dc6eff98aec /covoar/GcovData.cc | |
parent | rtems-testing: Use eval bash instead of full path (diff) | |
download | rtems-testing-df4d9e9f6560210a22158e320abd398e2c3bcf38.tar.bz2 |
covoar: Fix issues spotted by clang on FreeBSD 10
Diffstat (limited to 'covoar/GcovData.cc')
-rw-r--r-- | covoar/GcovData.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/covoar/GcovData.cc b/covoar/GcovData.cc index 748ffa3..6d10337 100644 --- a/covoar/GcovData.cc +++ b/covoar/GcovData.cc @@ -44,7 +44,11 @@ namespace Gcov { char* tempString3; if ( strlen(fileName) >= FILE_NAME_LENGTH ){ - fprintf( stderr, "ERROR: File name is to long to be correctly stored: %u\n", strlen(fileName) ); + fprintf( + stderr, + "ERROR: File name is too long to be correctly stored: %u\n", + (unsigned int) strlen(fileName) + ); return false; } strcpy( gcnoFileName, fileName ); |