comparison OrthancServer/OrthancRestApi.cpp @ 125:2d96cb181f45

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 05 Oct 2012 17:44:12 +0200
parents ebce15865cce
children 7517cbe58623
comparison
equal deleted inserted replaced
124:1267071a697e 125:2d96cb181f45
66 { 66 {
67 const Json::Value& array = v["Value"]; 67 const Json::Value& array = v["Value"];
68 assert(array.isArray()); 68 assert(array.isArray());
69 69
70 Json::Value children = Json::arrayValue; 70 Json::Value children = Json::arrayValue;
71 for (size_t i = 0; i < array.size(); i++) 71 for (Json::Value::ArrayIndex i = 0; i < array.size(); i++)
72 { 72 {
73 Json::Value c; 73 Json::Value c;
74 SimplifyTagsRecursion(c, array[i]); 74 SimplifyTagsRecursion(c, array[i]);
75 children.append(c); 75 children.append(c);
76 } 76 }