aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/exec/memop.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/memop.h b/include/exec/memop.h
index 06417ff..f881fe7 100644
--- a/include/exec/memop.h
+++ b/include/exec/memop.h
@@ -161,7 +161,7 @@ static inline MemOp size_memop(unsigned size)
/* Power of 2 up to 8. */
assert((size & (size - 1)) == 0 && size >= 1 && size <= 8);
#endif
- return ctz32(size);
+ return (MemOp)ctz32(size);
}
/* Big endianness from MemOp. */