aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2024-10-14 04:19:38 +0900
committerMITSUNARI Shigeo <[email protected]>2024-10-14 04:52:03 +0900
commit44bc77d51b50ff0e798e44edcc8fae644322c180 (patch)
tree31fe7738d7eec76fb0f1410d777d62e2825881dd
parentd067f0d3f55696ae8bc9a25ad7012ee80f221d54 (diff)
downloadxbyak-44bc77d51b50ff0e798e44edcc8fae644322c180.tar.gz
xbyak-44bc77d51b50ff0e798e44edcc8fae644322c180.zip
fix a type of return
-rw-r--r--xbyak/xbyak.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbyak/xbyak.h b/xbyak/xbyak.h
index 552e451..774f147 100644
--- a/xbyak/xbyak.h
+++ b/xbyak/xbyak.h
@@ -2665,7 +2665,7 @@ private:
{
opAVX_X_X_XM(x1, x2, op, type | orEvexIf(encoding, typeVex, typeEvex, sel), code, imm);
}
- int orEvexIf(PreferredEncoding encoding, uint64_t typeVex, uint64_t typeEvex, int sel) {
+ uint64_t orEvexIf(PreferredEncoding encoding, uint64_t typeVex, uint64_t typeEvex, int sel) {
if (encoding == DefaultEncoding) {
encoding = defaultEncoding_[sel];
}