changeset 743:fd36c80f096f

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Mar 2014 20:41:38 +0100
parents 1cd3ec544039
children ec69658b031b
files OrthancServer/DatabaseWrapper.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.cpp	Wed Mar 19 20:29:26 2014 +0100
+++ b/OrthancServer/DatabaseWrapper.cpp	Wed Mar 19 20:41:38 2014 +0100
@@ -694,7 +694,7 @@
 
     while (changes.size() < maxResults && s.Step())
     {
-      int64_t seq = s.ColumnInt(0);
+      int64_t seq = s.ColumnInt64(0);
       ResourceType resourceType = static_cast<ResourceType>(s.ColumnInt(1));
       std::string publicId = s.ColumnString(2);