Mercurial > hg > orthanc
comparison OrthancServer/ServerIndex.cpp @ 585:b2357f1f026f
fix types
author | jodogne |
---|---|
date | Tue, 01 Oct 2013 16:38:14 +0200 |
parents | 2c739f76d0bb |
children | ec0b7a51d7bd |
comparison
equal
deleted
inserted
replaced
583:bf333b2ed95d | 585:b2357f1f026f |
---|---|
582 target["CountInstances"] = static_cast<unsigned int>(db_->GetResourceCount(ResourceType_Instance)); | 582 target["CountInstances"] = static_cast<unsigned int>(db_->GetResourceCount(ResourceType_Instance)); |
583 } | 583 } |
584 | 584 |
585 | 585 |
586 | 586 |
587 SeriesStatus ServerIndex::GetSeriesStatus(int id) | 587 SeriesStatus ServerIndex::GetSeriesStatus(int64_t id) |
588 { | 588 { |
589 // Get the expected number of instances in this series (from the metadata) | 589 // Get the expected number of instances in this series (from the metadata) |
590 std::string s = db_->GetMetadata(id, MetadataType_Series_ExpectedNumberOfInstances); | 590 std::string s = db_->GetMetadata(id, MetadataType_Series_ExpectedNumberOfInstances); |
591 | 591 |
592 size_t expected; | 592 size_t expected; |