gcc warning about printf() format mismatch corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -137,7 +137,7 @@ wxTable::wxTable(wxDB *pwxDB, const char *tblName, const int nCols,
|
||||
|
||||
char s[200];
|
||||
tableID = ++lastTableID;
|
||||
sprintf(s, "wxTable constructor (%-20s) tableID:[%6lu] pDb:[%lu]", tblName,tableID,pDb);
|
||||
sprintf(s, "wxTable constructor (%-20s) tableID:[%6lu] pDb:[%p]", tblName,tableID,pDb);
|
||||
|
||||
#if __WXDEBUG__ > 0
|
||||
CstructTablesInUse *tableInUse;
|
||||
@@ -241,7 +241,7 @@ wxTable::~wxTable()
|
||||
char s[80];
|
||||
if (pDb)
|
||||
{
|
||||
sprintf(s, "wxTable destructor (%-20s) tableID:[%6lu] pDb:[%lu]", tableName,tableID,pDb);
|
||||
sprintf(s, "wxTable destructor (%-20s) tableID:[%6lu] pDb:[%p]", tableName,tableID,pDb);
|
||||
pDb->WriteSqlLog(s);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user