You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by rm...@apache.org on 2022/11/19 20:17:18 UTC

[logging-log4cxx] branch next_stable updated: Fix clang compile error

This is an automated email from the ASF dual-hosted git repository.

rmiddleton pushed a commit to branch next_stable
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git


The following commit(s) were added to refs/heads/next_stable by this push:
     new bd46103e Fix clang compile error
bd46103e is described below

commit bd46103e2a193585365763d299d6aa7bc925b1de
Author: Robert Middleton <ro...@rm5248.com>
AuthorDate: Sat Nov 19 15:17:12 2022 -0500

    Fix clang compile error
---
 src/test/cpp/abts.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/cpp/abts.cpp b/src/test/cpp/abts.cpp
index e0e0e286..403e5c73 100644
--- a/src/test/cpp/abts.cpp
+++ b/src/test/cpp/abts.cpp
@@ -252,7 +252,7 @@ static int report(abts_suite* suite)
 		if (dptr->failed.size() != 0)
 		{
 			float percent = ((float)dptr->failed.size() / (float)dptr->num_test);
-			fprintf(stdout, "%-15s\t\t%5d\t%4d\t%6.2f%%\n", dptr->name,
+			fprintf(stdout, "%-15s\t\t%5d\t%4d\t%6.2f%%\n", dptr->name.c_str(),
 				dptr->num_test, (int)dptr->failed.size(), percent * 100);
 			for( const char* failed_name : dptr->failed ){
 				fprintf(stdout, "  %s\n", failed_name );