Skip to content

Commit f0747e0

Browse files
author
smallp-o-p
committed
Specify proper fxbits template for hrbits
1 parent 328648c commit f0747e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libc/src/stdfix/hrbits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
namespace LIBC_NAMESPACE_DECL {
1616

1717
LLVM_LIBC_FUNCTION(short fract, hrbits, (int_hr_t x)) {
18-
return fixed_point::fxbits(x);
18+
return fixed_point::fxbits<short fract, int_hr_t>(x);
1919
}
2020

2121
}

0 commit comments

Comments
 (0)