# HG changeset patch # User chainsaw # Date 1146441648 25200 # Node ID 90c87c7aee9ce854aa2d5fdfcf3d0667285c3908 # Parent 3eff4f35b39d63f89d91e92b64e5568b076fbf12 [svn] Add a missing cast. diff -r 3eff4f35b39d -r 90c87c7aee9c Plugins/Input/adplug/core/lds.cpp --- 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;