Changeset 1533 for trunk/dll/treecnr.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/treecnr.c

    r1513 r1533  
    657657        ShowTreeRec(dcd->hwndCnr, (CHAR *)mp1, fCollapseFirst, TRUE);
    658658        PostMsg(hwndTree, WM_COMMAND, MPFROM2SHORT(IDM_UPDATE, 0), MPVOID);
    659         dcd->suspendview = tempsusp;
     659        dcd->suspendview = (USHORT) tempsusp;
    660660        fFollowTree = tempfollow;
    661661        if (mp2)
     
    701701      ExpandAll(dcd->hwndCnr,
    702702                (SHORT1FROMMP(mp1) == IDM_EXPAND), (PCNRITEM) mp2);
    703       dcd->suspendview = tempsusp;
     703      dcd->suspendview = (USHORT) tempsusp;
    704704      PostMsg(dcd->hwndCnr, UM_FILTER, MPVOID, MPVOID);
    705705    }
     
    23292329      dcd->mask.attrFile |= FILE_DIRECTORY;
    23302330      WinSendMsg(hwnd, CM_FILTER, MPFROMP(Filter), MPFROMP(&dcd->mask));
    2331       dcd->suspendview = tempsusp;
     2331      dcd->suspendview = (USHORT) tempsusp;
    23322332      PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID);
    23332333      //DbgMsg(pszSrcFile, __LINE__, "UM_RESCAN %p pci %s", hwnd, (CHAR *) mp1);
Note: See TracChangeset for help on using the changeset viewer.