mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-25 21:40:25 -06:00
Compiler warning fix by bokic@users.sourceforge.net
This commit is contained in:
@@ -589,7 +589,7 @@ void DBBrowserDB::logSQL(QString statement, int msgtype)
|
||||
if (logWin)
|
||||
{
|
||||
/*limit log message to a sensible size, this will truncate some binary messages*/
|
||||
uint loglimit = 300;
|
||||
int loglimit = 300;
|
||||
if ((statement.length() > loglimit)&&(msgtype==kLogMsg_App))
|
||||
{
|
||||
statement.truncate(32);
|
||||
|
||||
Reference in New Issue
Block a user