mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-08 18:33:30 +00:00
fix msvc warning
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@219 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -150,7 +150,7 @@ static void mouse_move(MwWidget handle) {
|
||||
len = l / len;
|
||||
if(len < 0) len = 0;
|
||||
if(len > 1) len = 1;
|
||||
MwSetInteger(handle, MwNvalue, (max - min) * len - min);
|
||||
MwSetInteger(handle, MwNvalue, (int)((max - min) * len - min));
|
||||
|
||||
MwForceRender(handle);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user