Fix 'format not a string literal' error

Thanks to Francois Andriot for the patch
(cherry picked from commit b58489be77)
v3.5.13-sru
Slávek Banko 12 years ago
parent c550060e7f
commit 274736cacf

@ -575,7 +575,7 @@ bool CAssembler::exportVHDL( string templateFile, string outputDir, string entit
for( j = 31 ; j >= 0 ; j-- )
fprintf( outfile, "%02X", INITP[ j ][ line ] ) ;
} else if ( strcmp( "name", varname ) == 0 ) {
fprintf( outfile, entityName.c_str() ) ;
fprintf( outfile, "%s", entityName.c_str() ) ;
} else if ( strcmp( "begin template", varname ) == 0 ) {
copy = true ;
}

Loading…
Cancel
Save