fix a couple of signed vs unsigned comparisons.

This commit is contained in:
Seth Alves 2015-02-03 16:11:04 -08:00
commit 8489ee04f3
4 changed files with 4 additions and 4 deletions

View file

@ -212,7 +212,7 @@ private:
bool _outputStarveDetectionEnabled;
quint64 _outputStarveDetectionStartTimeMsec;
int _outputStarveDetectionCount;
int _outputStarveDetectionPeriodMsec;
uint _outputStarveDetectionPeriodMsec;
int _outputStarveDetectionThreshold; // Maximum number of starves per _outputStarveDetectionPeriod before increasing buffer size

View file

@ -37,7 +37,7 @@ public:
// Semantic and Index types to retreive the JointTrackers of this MotionTracker
typedef std::string Semantic;
typedef int Index;
typedef uint Index;
static const Index INVALID_SEMANTIC = -1;
static const Index INVALID_PARENT = -2;

View file

@ -38,7 +38,7 @@ public slots:
private:
int _deviceTrackerId;
int _subTrackerId;
uint _subTrackerId;
// cache for the spatial
SpatialEvent _eventCache;

View file

@ -175,7 +175,7 @@ Texture::Size Texture::resize(Type type, const Element& texelFormat, uint16 widt
// Evaluate the new size with the new format
const int DIM_SIZE[] = {1, 1, 1, 6};
int size = DIM_SIZE[_type] *_width * _height * _depth * _numSamples * texelFormat.getSize();
uint size = DIM_SIZE[_type] *_width * _height * _depth * _numSamples * texelFormat.getSize();
// If size change then we need to reset
if (changed || (size != getSize())) {