1
0
mirror of https://git.code.sf.net/p/fuse-emulator/fuse-utils synced 2025-08-06 02:35:52 +03:00

Remove warnings in printfs.

Legacy-ID: 2869
This commit is contained in:
Fredrick Meunier
2007-05-22 10:38:22 +00:00
parent ac2274d38d
commit 4dcdcdad0a
2 changed files with 3 additions and 2 deletions

View File

@@ -166,3 +166,4 @@
for fuse-utils (patch #1718168) (Stuart Brady). for fuse-utils (patch #1718168) (Stuart Brady).
20070520 Remove .cvsignore files and ignore files not automatically ignored 20070520 Remove .cvsignore files and ignore files not automatically ignored
by Subversion. by Subversion.
20070522 tzxlist.c: remove warnings in printfs (Fred).

View File

@@ -60,7 +60,7 @@ dump_symbol_table( libspectrum_tape_generalised_data_symbol_table *table )
libspectrum_tape_generalised_data_symbol *symbol = libspectrum_tape_generalised_data_symbol *symbol =
libspectrum_tape_generalised_data_symbol_table_symbol( table, i ); libspectrum_tape_generalised_data_symbol_table_symbol( table, i );
printf(" Symbol %d: type %d; pulse lengths: ", i, libspectrum_tape_generalised_data_symbol_type( symbol ) ); printf(" Symbol %ld: type %d; pulse lengths: ", i, libspectrum_tape_generalised_data_symbol_type( symbol ) );
for( j = 0; j < pulses; j++ ) for( j = 0; j < pulses; j++ )
printf( "%d ", libspectrum_tape_generalised_data_symbol_pulse( symbol, j ) ); printf( "%d ", libspectrum_tape_generalised_data_symbol_pulse( symbol, j ) );
@@ -80,7 +80,7 @@ dump_pilot_repeats( libspectrum_tape_block *block )
libspectrum_tape_block_pilot_table( block ); libspectrum_tape_block_pilot_table( block );
for( i = 0; i < libspectrum_tape_generalised_data_symbol_table_symbols_in_block( pilot ); i++ ) { for( i = 0; i < libspectrum_tape_generalised_data_symbol_table_symbols_in_block( pilot ); i++ ) {
printf( " Repeat %2d: symbol %d repeated %d times\n", i, printf( " Repeat %2ld: symbol %d repeated %d times\n", i,
libspectrum_tape_block_pilot_symbols( block, i ), libspectrum_tape_block_pilot_symbols( block, i ),
libspectrum_tape_block_pilot_repeats( block, i ) ); libspectrum_tape_block_pilot_repeats( block, i ) );
} }