From be10d9f19349b8d4915f125aa29db98d0048df3f Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Sat, 6 Jun 2015 16:45:40 +0200 Subject: [PATCH] fix: Ambiguity when compiling --- src/io/record.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/io/record.cpp b/src/io/record.cpp index bd0cc1b..908f495 100644 --- a/src/io/record.cpp +++ b/src/io/record.cpp @@ -62,7 +62,7 @@ std::string parseCommand( RecordHeader& head, const std::string& input, std::sha bool error = false; std::string str( std::max( dlen, RECORD_HEADER_SIZE ), 0 ); - str.append( 0, dlen ); + str.append( dlen, '\0' ); for( int i = 0; i < dlen; i++ ) { int32_t digit; -- 2.47.3