Mercurial > hg > orthanc
diff OrthancCppClient/Study.cpp @ 492:f3d4193c571a
switch to jsoncpp-0.6.0-rc2
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Jul 2013 11:19:09 +0200 |
parents | 0cd977e94479 |
children | 7f7a2d174acb |
line wrap: on
line diff
--- a/OrthancCppClient/Study.cpp Tue Jul 16 16:09:17 2013 +0200 +++ b/OrthancCppClient/Study.cpp Wed Jul 17 11:19:09 2013 +0200 @@ -50,7 +50,8 @@ Orthanc::IDynamicObject* Study::GetFillerItem(size_t index) { - return new Series(connection_, study_["Series"][index].asString()); + Json::Value::ArrayIndex tmp = static_cast<Json::Value::ArrayIndex>(index); + return new Series(connection_, study_["Series"][tmp].asString()); } Study::Study(const OrthancConnection& connection,