From b3a1c156089548eb3077f8e30baea8a8966b0571 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Thu, 1 Apr 2010 14:33:30 +0000 Subject: [PATCH] Fix for newest GCC (>=4.4.3). Signed-off-by: Peter Lemenkov git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1764 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- apps/dsm/mods/mod_mysql/ModMysql.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/dsm/mods/mod_mysql/ModMysql.cpp b/apps/dsm/mods/mod_mysql/ModMysql.cpp index 219ef209..75cdc255 100644 --- a/apps/dsm/mods/mod_mysql/ModMysql.cpp +++ b/apps/dsm/mods/mod_mysql/ModMysql.cpp @@ -321,7 +321,7 @@ EXEC_ACTION_START(SCMyQueryGetResultAction) { mysqlpp::Query query = conn->query(qstr.c_str()); mysqlpp::StoreQueryResult res = query.store(); if (res) { - size_t rowindex_i = 0; + unsigned int rowindex_i = 0; string rowindex = resolveVars(par2, sess, sc_sess, event_params); if (rowindex.length()) { if (str2i(rowindex, rowindex_i)) { @@ -369,7 +369,7 @@ EXEC_ACTION_START(SCMyGetResultAction) { return false; } - size_t rowindex_i = 0; + unsigned int rowindex_i = 0; string rowindex = resolveVars(par1, sess, sc_sess, event_params); string colname = resolveVars(par2, sess, sc_sess, event_params);