Ignore:
Timestamp:
Mar 21, 2016, 11:25:45 AM (9 years ago)
Author:
alain
Message:

Avoid GCC warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/math/fmod.c

    r792 r809  
    6262    int32_t expx = absx >> 52;
    6363    int32_t expy = absy >> 52;
    64     int64_t sx = absx & 0x000fffffffffffff;
    65     int64_t sy = absy & 0x000fffffffffffff;
     64    int64_t sx = absx & 0x000fffffffffffffULL;
     65    int64_t sy = absy & 0x000fffffffffffffULL;
    6666
    6767    if (0 == expx) {
     
    105105   
    106106    if (0 == sx) {
    107         ux.u &= 0x8000000000000000;
     107        ux.u &= 0x8000000000000000ULL;
    108108        return ux.d;
    109109    }
Note: See TracChangeset for help on using the changeset viewer.