From: Benny Baumann Date: Sat, 6 Jun 2015 14:45:40 +0000 (+0200) Subject: fix: Ambiguity when compiling X-Git-Url: http://www.controwiki.de/?a=commitdiff_plain;h=be10d9f19349b8d4915f125aa29db98d0048df3f;p=cassiopeia.git fix: Ambiguity when compiling --- 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;