fix msvc warning

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@219 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-08 11:21:12 +00:00
parent dfc581dd0e
commit b3931b73a4
2 changed files with 28 additions and 28 deletions

View File

@@ -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);
}