Changeset 2557 in CLRX


Ignore:
Timestamp:
Nov 10, 2016, 9:49:37 PM (3 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Fixing warnings from gcc on 32-bit systems.

Location:
CLRadeonExtender/trunk/amdbin
Files:
2 edited

Legend:

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

    r2555 r2557  
    457457{ progHeaders.push_back(progHeader); }
    458458
    459 static const size_t dynTableSize = DT_NUM;
     459static const int32_t dynTableSize = DT_NUM;
    460460
    461461
  • CLRadeonExtender/trunk/amdbin/ROCmBinaries.cpp

    r2556 r2557  
    224224    elfBinGen64.addNote(ElfNote{"AMD", sizeof noteDescType1, noteDescType1, 1U});
    225225    std::unique_ptr<cxbyte[]> noteBuf(new cxbyte[0x1b]);
    226     ::memcpy(noteBuf.get(), noteDescType3, 0x1e);
     226    ::memcpy(noteBuf.get(), noteDescType3, 0x1b);
    227227    //SULEV(*(uint32_t*)(noteBuf.get()+4), amdGpuArchValues.major);
    228228    //SULEV(*(uint32_t*)(noteBuf.get()+8), amdGpuArchValues.minor);
Note: See TracChangeset for help on using the changeset viewer.