Index: src/libchcore/TSQLiteStatement.cpp =================================================================== diff -u -N -r320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41 -r2fe97a93f21771d75901d4b6559057d1ea055104 --- src/libchcore/TSQLiteStatement.cpp (.../TSQLiteStatement.cpp) (revision 320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41) +++ src/libchcore/TSQLiteStatement.cpp (.../TSQLiteStatement.cpp) (revision 2fe97a93f21771d75901d4b6559057d1ea055104) @@ -168,7 +168,7 @@ void TSQLiteStatement::BindValue(int iColumn, const TString& strText) { - BindValue(iColumn, (PCTSTR)strText); + BindValue(iColumn, strText.c_str()); } void TSQLiteStatement::BindValue(int iColumn, const TSmartPath& path)