diff --git a/libraries/networking/src/NodeList.cpp b/libraries/networking/src/NodeList.cpp index 5a10ade654..f974bd6386 100644 --- a/libraries/networking/src/NodeList.cpp +++ b/libraries/networking/src/NodeList.cpp @@ -137,8 +137,8 @@ void NodeList::timePingReply(QSharedPointer packet, const SharedNodePo // The other node's expected time should be our original time plus the one way flight time // anything other than that is clock skew - quint64 othersExprectedReply = ourOriginalTime + oneWayFlightTime; - int clockSkew = othersReplyTime - othersExprectedReply; + quint64 othersExpectedReply = ourOriginalTime + oneWayFlightTime; + int clockSkew = othersReplyTime - othersExpectedReply; sendingNode->setPingMs(pingTime / 1000); sendingNode->updateClockSkewUsec(clockSkew); @@ -152,7 +152,7 @@ void NodeList::timePingReply(QSharedPointer packet, const SharedNodePo " pingTime: " << pingTime << "\n" << " oneWayFlightTime: " << oneWayFlightTime << "\n" << " othersReplyTime: " << othersReplyTime << "\n" << - " othersExprectedReply: " << othersExprectedReply << "\n" << + " othersExprectedReply: " << othersExpectedReply << "\n" << " clockSkew: " << clockSkew << "\n" << " average clockSkew: " << sendingNode->getClockSkewUsec(); } diff --git a/libraries/render-utils/CMakeLists.txt b/libraries/render-utils/CMakeLists.txt index 7feb48a52b..9d3b4a441f 100644 --- a/libraries/render-utils/CMakeLists.txt +++ b/libraries/render-utils/CMakeLists.txt @@ -34,4 +34,4 @@ if (WIN32) target_include_directories(${TARGET_NAME} PUBLIC ${OGLPLUS_INCLUDE_DIRS}) endif (WIN32) -link_hifi_libraries(animation fbx shared gpu model render) +link_hifi_libraries(animation fbx shared gpu model render environment)