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:
Vadim Zeitlin
1999-10-18 14:19:19 +00:00
parent 87202f787c
commit 47765ba2b8

View File

@@ -137,7 +137,7 @@ wxTable::wxTable(wxDB *pwxDB, const char *tblName, const int nCols,
char s[200]; char s[200];
tableID = ++lastTableID; 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 #if __WXDEBUG__ > 0
CstructTablesInUse *tableInUse; CstructTablesInUse *tableInUse;
@@ -241,7 +241,7 @@ wxTable::~wxTable()
char s[80]; char s[80];
if (pDb) 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); pDb->WriteSqlLog(s);
} }