We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c18626 commit 375c313Copy full SHA for 375c313
1 file changed
src/video_compress/cmpto_j2k.cpp
@@ -740,7 +740,7 @@ static void usage(bool full) {
740
return nullptr; \
741
} \
742
const uintmax_t maxval = \
743
- std::nextafter(std::numeric_limits<typeof(var)>::max(), \
+ std::nextafter(std::numeric_limits<decltype(var)>::max(), \
744
-std::numeric_limits<double>::infinity()); \
745
if (val < (minval) || val > maxval) { \
746
MSG(ERROR, \
0 commit comments