From 72fcd888f5961c3ddd872763664c535bb51aa302 Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Fri, 9 Aug 2019 11:23:05 +0300 Subject: [PATCH] Change type from uint to int --- components/rgbd-sources/include/ftl/rgbd/streamer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/rgbd-sources/include/ftl/rgbd/streamer.hpp b/components/rgbd-sources/include/ftl/rgbd/streamer.hpp index d2beacb21..82dba7478 100644 --- a/components/rgbd-sources/include/ftl/rgbd/streamer.hpp +++ b/components/rgbd-sources/include/ftl/rgbd/streamer.hpp @@ -35,7 +35,7 @@ static const unsigned int kFrameDropLimit = 5; struct StreamSource { ftl::rgbd::Source *src; - std::atomic<unsigned int> jobs; // Busy or ready to swap? + std::atomic<int> jobs; // Busy or ready to swap? std::atomic<unsigned int> clientCount; cv::Mat rgb; // Tx buffer cv::Mat depth; // Tx buffer -- GitLab