We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acb2adf commit dbaa1ecCopy full SHA for dbaa1ec
OpenNI2-FreenectDriver/src/VideoStream.hpp
@@ -53,7 +53,7 @@ namespace FreenectDriver
53
if (timestamp < prev_timestamp)
54
{
55
uint32_t prev_int = static_cast<uint32_t>(prev_timestamp);
56
- uint64_t temp_delta = std::abs<int64_t>(timestamp - prev_int);
+ uint64_t temp_delta = std::abs(timestamp - prev_int);
57
prev_timestamp += temp_delta;
58
} else {
59
prev_timestamp = timestamp;
0 commit comments