summaryrefslogtreecommitdiff
path: root/tests/test9.cpp
diff options
context:
space:
mode:
authorU-Andreas-PC\Andreas <abaumann@yahoo.com>2011-03-21 15:11:34 +0100
committerU-Andreas-PC\Andreas <abaumann@yahoo.com>2011-03-21 15:11:34 +0100
commit61adb6a1ba66d0990ccc72b6a105797987c0a4f3 (patch)
tree8b9e2f43463336b173ada6d2137ae47eb26318af /tests/test9.cpp
parent59c7bbb7bb618a770a4534a91e748de53203dd7a (diff)
downloadsqlitexx-61adb6a1ba66d0990ccc72b6a105797987c0a4f3.tar.gz
sqlitexx-61adb6a1ba66d0990ccc72b6a105797987c0a4f3.tar.bz2
tested on Windows 7 64-bit with VC8 (Platform SDK 7.0)
fixed bug in test9
Diffstat (limited to 'tests/test9.cpp')
-rw-r--r--tests/test9.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test9.cpp b/tests/test9.cpp
index e3ae237..cad0f05 100644
--- a/tests/test9.cpp
+++ b/tests/test9.cpp
@@ -71,7 +71,7 @@ PRODUCER_PREPARE_AGAIN:
for( int j = 0; j < NOF_PRODUCER_OPS; j++ ) {
PRODUCER_INS_AGAIN:
try {
- result r = t.prepared( "ins" )( no * 100000 + i * 1000 + j ).exec( );
+ result r = t.prepared( "ins" )( (int)no * 100000 + i * 1000 + j ).exec( );
assert( r.affected_rows( ) == 1 );
t.commit( );
} catch( const database_locked& e ) {