]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - snd_mix.c
changed some things to size_t to reduce warnings on MSVC x64
[xonotic/darkplaces.git] / snd_mix.c
index 2f1a7d43d200c9d3e70464edbd3096c844993915..2315f7c9fc22aeeb83efaeecfea6d27ff827a490 100644 (file)
--- a/snd_mix.c
+++ b/snd_mix.c
@@ -238,9 +238,7 @@ void S_PaintChannels(int endtime)
                        // if the channel is paused
                        if (ch->flags & CHANNELFLAG_PAUSED)
                        {
-                               size_t pausedtime;
-
-                               pausedtime = end - paintedtime;
+                               int pausedtime = end - paintedtime;
                                ch->lastptime += pausedtime;
                                ch->end += pausedtime;
                                continue;