mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
Fix old-style-cast warnings
This commit is contained in:
@@ -101,7 +101,7 @@ int RowLoader::countRows()
|
||||
status = sqlite3_step(stmt);
|
||||
if(status == SQLITE_ROW)
|
||||
{
|
||||
QString sCount = QString::fromUtf8((const char*)sqlite3_column_text(stmt, 0));
|
||||
QString sCount = QString::fromUtf8(reinterpret_cast<const char*>(sqlite3_column_text(stmt, 0)));
|
||||
retval = sCount.toInt();
|
||||
}
|
||||
sqlite3_finalize(stmt);
|
||||
|
||||
Reference in New Issue
Block a user