fix msvc warning
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@219 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
dfc581dd0e
commit
b3931b73a4
2 changed files with 28 additions and 28 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue