changeset 992:90c87c7aee9c trunk

[svn] Add a missing cast.
author chainsaw
date Sun, 30 Apr 2006 17:00:48 -0700
parents 3eff4f35b39d
children a9ac4beb4e15
files Plugins/Input/adplug/core/lds.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/adplug/core/lds.cpp	Sun Apr 30 16:48:20 2006 -0700
+++ b/Plugins/Input/adplug/core/lds.cpp	Sun Apr 30 17:00:48 2006 -0700
@@ -181,7 +181,7 @@
 	}
       }
     } else
-      if(((allvolume + (0x100 - fadeonoff)) & 0xff) <= mainvolume)
+      if((unsigned int)((allvolume + (0x100 - fadeonoff)) & 0xff) <= mainvolume)
 	allvolume += 0x100 - fadeonoff;
       else {
 	allvolume = mainvolume;