summaryrefslogtreecommitdiff
path: root/cpp/test/Freeze/cursor/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Freeze/cursor/Client.cpp')
-rw-r--r--cpp/test/Freeze/cursor/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/test/Freeze/cursor/Client.cpp b/cpp/test/Freeze/cursor/Client.cpp
index e0e731d5d66..5827c89a896 100644
--- a/cpp/test/Freeze/cursor/Client.cpp
+++ b/cpp/test/Freeze/cursor/Client.cpp
@@ -92,7 +92,7 @@ populateDB(const DBPtr& db)
{
for(vector<char>::const_iterator j = alphabet.begin() ; j != alphabet.end(); ++j)
{
- addValue(db, *j, j-alphabet.begin());
+ addValue(db, *j, static_cast<int>(j - alphabet.begin()));
}
}