From df435f870159c4ad05eb3d9a87a368b38e32c3bd Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Wed, 19 Aug 2009 08:49:01 +0000 Subject: Attempt to define an I64FMT string that can be used for printf'ing 64-bit integers. This is defined to be "I64" on MSVC and recent mingw compilers, and "ll" for all others. Updated all instances of 64-bit prints to use the new macro. --- src/emu/sound/discrete.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/emu/sound/discrete.c') diff --git a/src/emu/sound/discrete.c b/src/emu/sound/discrete.c index a922c45a606..3c18495ddf8 100644 --- a/src/emu/sound/discrete.c +++ b/src/emu/sound/discrete.c @@ -608,7 +608,7 @@ static STREAM_UPDATE( discrete_stream_update ) /* Dump any csv logs */ for (outputnum = 0; outputnum < info->num_csvlogs; outputnum++) { - fprintf(info->disc_csv_file[outputnum], "%lld", ++info->sample_num); + fprintf(info->disc_csv_file[outputnum], "%" I64FMT "d", ++info->sample_num); for (nodenum = 0; nodenum < info->csvlog_node[outputnum]->active_inputs; nodenum++) { fprintf(info->disc_csv_file[outputnum], ", %f", *info->csvlog_node[outputnum]->input[nodenum]); -- cgit v1.2.3-70-g09d2