summaryrefslogtreecommitdiff
path: root/libodbcpp/column.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/column.cpp')
-rw-r--r--libodbcpp/column.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp
index 6f45617..8237535 100644
--- a/libodbcpp/column.cpp
+++ b/libodbcpp/column.cpp
@@ -77,7 +77,7 @@ namespace ODBC {
REBIND(SQL_TIMESTAMP_STRUCT, bindParamT)
template<> void _Column<unsigned char *>::rebind(Command * cmd, unsigned int col) const \
{
- cmd->bindParamS(col, (char *)value);
+ cmd->bindParamS(col, (const char *)value);
}
template <>