From eede3d0586d093a02b10ad02fd738029313a5e80 Mon Sep 17 00:00:00 2001 From: Alison Watson Date: Thu, 12 Dec 2019 17:19:56 -0500 Subject: [PATCH] fix long/int64 errors --- source/snd_opus.c | 4 ++-- source/snd_vorbis.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/snd_opus.c b/source/snd_opus.c index 3238003..b263447 100644 --- a/source/snd_opus.c +++ b/source/snd_opus.c @@ -115,8 +115,8 @@ static bool S_OPUS_CodecOpenStream(snd_stream_t *stream) numstreams = op_info->stream_count; if(numstreams != 1) { - Con_Printf("More than one (%" PRIi64 ") stream in %s\n", - (long)op_info->stream_count, stream->name); + Con_Printf("More than one (%li) stream in %s\n", + numstreams, stream->name); goto fail; } diff --git a/source/snd_vorbis.c b/source/snd_vorbis.c index b6a4bd3..998b0d2 100644 --- a/source/snd_vorbis.c +++ b/source/snd_vorbis.c @@ -110,7 +110,7 @@ static bool S_VORBIS_CodecOpenStream(snd_stream_t *stream) numstreams = ov_streams(ovFile); if(numstreams != 1) { - Con_Printf("More than one (%" PRIi64 ") stream in %s.\n", + Con_Printf("More than one (%li) stream in %s.\n", numstreams, stream->name); goto fail; }