* minor: remove warnings (the code cleaners strike again)

This commit is contained in:
Justin Clarke Casey
2008-10-03 14:18:17 +00:00
parent 36097a8198
commit 8c55f3eaa6
6 changed files with 20 additions and 23 deletions

View File

@@ -413,10 +413,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
}
}
private static int ScaleThrottle(int value, int curmax, int newmax)
{
return (value / curmax) * newmax;
return (int)((value / (float)curmax) * newmax);
}
public byte[] GetThrottlesPacked(float multiplier)