You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/redhat/applications/kpicosim/kpicosim-3.5.13-fix_not_a_s...

12 lines
495 B

--- kpicosim/src/cassembler.cpp.ORI 2012-08-05 23:39:09.061007283 +0200
+++ kpicosim/src/cassembler.cpp 2012-08-05 23:42:53.639017712 +0200
@@ -575,7 +575,7 @@
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 ;
}