# HG changeset patch # User Sebastien Jodogne # Date 1395221454 -3600 # Node ID 4439091f50d36a759d3d792ae8d38eddb5b2d031 # Parent 696dbb4fd390db0f764ee2f26b1f7f91e02ad60d fix diff -r 696dbb4fd390 -r 4439091f50d3 OrthancServer/DatabaseWrapper.cpp --- 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(s.ColumnInt(2)), - s.ColumnInt(3), + s.ColumnInt64(3), s.ColumnString(5)); return true; }