X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9eb11d19b13870292f3ccd340c67d7e148761db5..fae803f27be8ae1c4fe8f8775b333cc0fc80bdee:/src/common/dbtable.cpp 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: