Changeset 2497 in CLRX


Ignore:
Timestamp:
Oct 29, 2016, 7:15:27 PM (3 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Fixed gcc warning for 32-bit compilation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/GCNAsmHelpers.cpp

    r2490 r2497  
    148148           
    149149            if (regField!=ASMFIELD_NONE)
    150                 section.addVarUsage({ asmr.currentOutPos, regField, uint16_t(rstart),
    151                     uint16_t(rend), (flags & INSTROP_READ)!=0,
     150                section.addVarUsage({ size_t(asmr.currentOutPos), regField,
     151                    uint16_t(rstart), uint16_t(rend), (flags & INSTROP_READ)!=0,
    152152                    (flags & INSTROP_WRITE)!=0, 0, regVar });
    153153            return true;
Note: See TracChangeset for help on using the changeset viewer.