From 5a81b60e835e092f4dd255daa5c1302288518f83 Mon Sep 17 00:00:00 2001 From: =?utf8?q?W=C5=82odzimierz=20Skiba?= Date: Mon, 30 Oct 2006 13:29:46 +0000 Subject: [PATCH] Match EscapeSqlChars() interface. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dbtable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/dbtable.cpp b/src/common/dbtable.cpp index dd88239248..4d8f113e6c 100644 --- a/src/common/dbtable.cpp +++ b/src/common/dbtable.cpp @@ -1308,7 +1308,7 @@ void wxDbTable::BuildWhereClause(wxString &pWhereClause, int typeOfWhere, case SQL_C_WCHAR: #endif //case SQL_C_WXCHAR: SQL_C_WXCHAR is covered by either SQL_C_CHAR or SQL_C_WCHAR - colValue.Printf(wxT("'%s'"), GetDb()->EscapeSqlChars((UCHAR FAR *)colDefs[colNumber].PtrDataObj).c_str()); + colValue.Printf(wxT("'%s'"), GetDb()->EscapeSqlChars((wxChar *)colDefs[colNumber].PtrDataObj).c_str()); break; case SQL_C_SHORT: case SQL_C_SSHORT: -- 2.45.2