Skip to content

Commit 03807aa

Browse files
committed
[AMDGPU][MC] Attempt to fix build after e83e53b
See #96461 (comment)
1 parent 964327d commit 03807aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/unittests/MC/AMDGPU/Disassembler.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ TEST(AMDGPUDisassembler, MultiDisassembler) {
9898
char StrBuffer[128];
9999

100100
uint8_t Bytes[] = {0x04, 0x00, 0x80, 0xb0};
101-
size_t InstSize = 0U;
101+
uint64_t InstSize = 0U;
102102
MCInst Inst1, Inst2;
103103
MCDisassembler::DecodeStatus Status;
104104

@@ -184,7 +184,7 @@ TEST(AMDGPUDisassembler, UCVersionOverride) {
184184
uint8_t Versions[] = {UC_VERSION_GFX10_DEFAULT, UC_VERSION_GFX10_NEW};
185185
for (uint8_t Version : Versions) {
186186
uint8_t Bytes[] = {Version, 0x00, 0x80, 0xb0};
187-
size_t InstSize = 0U;
187+
uint64_t InstSize = 0U;
188188
MCInst Inst;
189189

190190
AnnoStr.clear();

0 commit comments

Comments
 (0)