Ignore:
Timestamp:
07/22/19 01:15:38 (5 years ago)
Author:
Maciej Komosinski
Message:

More explicit code to fix compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd_stdio.cpp

    r878 r888  
    119119int getFileSize(MFILE *f)
    120120{
    121         int saved_pos = mftell(f);
     121        int saved_pos = (int)mftell(f);
    122122        mfseek(f, 0, SEEK_END);
    123         int size = mftell(f);
     123        int size = (int)mftell(f);
    124124        mfseek(f, saved_pos, SEEK_SET);
    125125        return size;
Note: See TracChangeset for help on using the changeset viewer.