diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-02-12 11:17:21 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2014-02-12 11:17:21 +0100 |
commit | d2715d7c3534f35de0ebdd30d8d770bd79ca7a23 (patch) | |
tree | 80de4c11ec692fbd82e86df23d1e5c559de8d7f8 /server/src/pracrodaotest.cc | |
parent | 1e3a2a96d3eca9ff10a5e7c222bddc6ba018b41f (diff) |
Fix 64bit compilation
Diffstat (limited to 'server/src/pracrodaotest.cc')
-rw-r--r-- | server/src/pracrodaotest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/pracrodaotest.cc b/server/src/pracrodaotest.cc index d8b151d..a98a9fe 100644 --- a/server/src/pracrodaotest.cc +++ b/server/src/pracrodaotest.cc @@ -73,7 +73,7 @@ void PracroDAOTest::commitTransaction(std::string sessionid, transaction.user.c_str(), transaction.patientid.c_str(), _macro.name.c_str(), - commit.fields.size(), + (int)commit.fields.size(), now); if(commit.fields.size() == 0) return; @@ -156,7 +156,7 @@ Values PracroDAOTest::getLatestValues(std::string sessionid, std::string macro_name = macro ? macro->name.c_str() : "(null)"; DEBUG(db, "(%s, %s, <%u fieldnames>, %ld)\n", patientid.c_str(), - macro_name.c_str(), fieldnames.size(), + macro_name.c_str(), (int)fieldnames.size(), oldest); Values values; |