Changeset 1533 for trunk/dll/misc.c


Ignore:
Timestamp:
May 30, 2010, 7:34:46 PM (15 years ago)
Author:
Gregg Young
Message:

Fixed possible loss of precision compiler warnings by casting the variables in question.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/misc.c

    r1505 r1533  
    13551355                  (((info->HotKeyID - IDM_COMMANDNUM0) % 10) + 1) == 10 ? 0 :
    13561356                   ((info->HotKeyID - IDM_COMMANDNUM0) % 10) + 1);
    1357         mi.id = info->ID;
     1357        mi.id = (USHORT) info->ID;
    13581358        mi.afAttribute = (info->flags & ONCE ? MIA_CHECKED : 0) |
    13591359                         (info->flags & PROMPT ? MIA_FRAMED : 0);
Note: See TracChangeset for help on using the changeset viewer.