From 248ac8d760079b795ccb9e9b062bdf8b3abc347a Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Wed, 20 Apr 2016 19:04:39 -0700 Subject: [PATCH] fix warning --- libraries/octree/src/OctreeSceneStats.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/octree/src/OctreeSceneStats.cpp b/libraries/octree/src/OctreeSceneStats.cpp index 96e9d3e44c..1f205c213e 100644 --- a/libraries/octree/src/OctreeSceneStats.cpp +++ b/libraries/octree/src/OctreeSceneStats.cpp @@ -773,7 +773,7 @@ void OctreeSceneStats::trackIncomingOctreePacket(ReceivedMessage& message, bool // Guard against possible corrupted packets... with bad timestamps const qint64 MAX_RESONABLE_FLIGHT_TIME = 200 * USECS_PER_SECOND; // 200 seconds is more than enough time for a packet to arrive - const qint64 MIN_RESONABLE_FLIGHT_TIME = -1 * USECS_PER_SECOND; // more than 1 second of "reverse flight time" would be unreasonable + const qint64 MIN_RESONABLE_FLIGHT_TIME = -1 * (qint64)USECS_PER_SECOND; // more than 1 second of "reverse flight time" would be unreasonable if (flightTime > MAX_RESONABLE_FLIGHT_TIME || flightTime < MIN_RESONABLE_FLIGHT_TIME) { static QString repeatedMessage = LogHandler::getInstance().addRepeatedMessageRegex(