From 2523b31061e12a5e70e502264f60d609b7dd729a Mon Sep 17 00:00:00 2001 From: Jonathan Thomas Date: Wed, 3 Aug 2016 18:44:20 -0500 Subject: [PATCH] Fixing ambiguous reference to Json array index on Keyframe class --- src/KeyFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/KeyFrame.cpp b/src/KeyFrame.cpp index 2c2e9161..6c3777df 100644 --- a/src/KeyFrame.cpp +++ b/src/KeyFrame.cpp @@ -369,7 +369,7 @@ void Keyframe::SetJsonValue(Json::Value root) { // loop through points for (long int x = 0; x < root["Points"].size(); x++) { // Get each point - Json::Value existing_point = root["Points"][x]; + Json::Value existing_point = root["Points"][(Json::UInt) x]; // Create Point Point p;