Skip to content

Commit 137b2be

Browse files
authored
Merge pull request #40036 from compnerd/truncation
IRGen: avoid a truncation of the key data
2 parents d578fac + a0e6acc commit 137b2be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/Callee.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ namespace irgen {
121121
}
122122
llvm_unreachable("unhandled case");
123123
}
124-
bool getCorrespondingDataKey() const {
124+
unsigned getCorrespondingDataKey() const {
125125
assert(hasCodeKey());
126126
switch (getKey()) {
127127
case (unsigned)PointerAuthSchema::ARM8_3Key::ASIA:

0 commit comments

Comments
 (0)