diff options
-rw-r--r-- | src/compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compress.c b/src/compress.c index 2f7719356..3d8b913b4 100644 --- a/src/compress.c +++ b/src/compress.c @@ -354,7 +354,7 @@ void CompressDo(void *data, unsigned int length) if (!pos) pos = 1; - gr = ((gainTarget - gainCurrent) << 16)/pos; + gr = ((gainTarget - gainCurrent) << 16)/(int)pos; /* Do the shiznit */ gf = gainCurrent << 16; |