Skip to content

Commit 239029a

Browse files
marcaubereraengelke
authored andcommitted
[TPDE][NFC] Fix typo in zext helper assertion
1 parent fc74c5f commit 239029a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tpde/include/tpde/util/misc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ constexpr u64 cnt_lz<u64>(const u64 val) {
7474
}
7575

7676
inline u64 zext(const u64 val, const unsigned bits) {
77-
assert(bits > 0 && bits < 64 && "invalid sext bit width");
77+
assert(bits > 0 && bits < 64 && "invalid zext bit width");
7878
return val & ((u64{1} << bits) - 1);
7979
}
8080

0 commit comments

Comments
 (0)