aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-09 14:31:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-09 14:31:59 +0200
commitf2dd2a2e8af3b16b2c4828b21c21e31198fb464b (patch)
tree23aa84e46e654efae60c0ae3a27c92ce7569e2ff
parent405a5b416819bc276b8dd1c944f100598a9ed6ee (diff)
Fix invalid cast type
-rw-r--r--odb/mssql/traits.txx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mssql/traits.txx b/odb/mssql/traits.txx
index 168db1e..fc6ec2c 100644
--- a/odb/mssql/traits.txx
+++ b/odb/mssql/traits.txx
@@ -175,7 +175,7 @@ namespace odb
void* tmp_buf,
std::size_t tmp_capacity)
{
- wchar_t* p (static_cast<char*> (context));
+ wchar_t* p (static_cast<wchar_t*> (context));
switch (chunk)
{