Changeset 3567 in CLRX


Ignore:
Timestamp:
Dec 28, 2017, 7:50:41 PM (12 months ago)
Author:
matszpk
Message:

CLRadeonExtender: compiler warning from 32-bit build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdbin/GalliumBinaries.cpp

    r3560 r3567  
    148148           
    149149            if (scratchRSRCDword0Sym == symIndex)
    150                 scratchRelocs[j++] = { ULEV(rel.r_offset), RELTYPE_LOW_32BIT };
     150                scratchRelocs[j++] = { size_t(ULEV(rel.r_offset)), RELTYPE_LOW_32BIT };
    151151            else if (scratchRSRCDword1Sym == symIndex)
    152                 scratchRelocs[j++] = { ULEV(rel.r_offset), RELTYPE_HIGH_32BIT };
     152                scratchRelocs[j++] = { size_t(ULEV(rel.r_offset)), RELTYPE_HIGH_32BIT };
    153153        }
    154154        // final resizing
Note: See TracChangeset for help on using the changeset viewer.