diff OrthancServer/DatabaseWrapper.cpp @ 740:4439091f50d3

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Mar 2014 10:30:54 +0100
parents 696dbb4fd390
children 913179bc7cc5
line wrap: on
line diff
--- a/OrthancServer/DatabaseWrapper.cpp	Wed Mar 19 09:58:20 2014 +0100
+++ b/OrthancServer/DatabaseWrapper.cpp	Wed Mar 19 10:30:54 2014 +0100
@@ -501,10 +501,10 @@
     {
       attachment = FileInfo(s.ColumnString(0),
                             contentType,
-                            s.ColumnInt(1),
+                            s.ColumnInt64(1),
                             s.ColumnString(4),
                             static_cast<CompressionType>(s.ColumnInt(2)),
-                            s.ColumnInt(3),
+                            s.ColumnInt64(3),
                             s.ColumnString(5));
       return true;
     }