engine/src/ShowEngine.cpp
branchsymbian1
changeset 149 70b2f592a460
parent 148 e3f9b65d6910
child 164 000f9fc147b2
--- a/engine/src/ShowEngine.cpp	Thu Jun 03 23:38:58 2010 +0100
+++ b/engine/src/ShowEngine.cpp	Mon Jun 07 23:06:17 2010 +0100
@@ -1045,7 +1045,7 @@
 void CShowEngine::DBSwapDownloadsL(TDownload aFirstDL, TDownload aSecondDL)
 	{
 	DP("CShowEngine::DBSwapDownloadsL");
-	_LIT(KSqlStatement, "update downloads set uid=%d where dl_index=%d");
+	_LIT(KSqlStatement, "update downloads set uid=%u where dl_index=%d");
 	
 	iSqlBuffer.Format(KSqlStatement, aFirstDL.iUid, aSecondDL.iIndex);
 	sqlite3_stmt *st;