diff options
Diffstat (limited to 'libodbcpp')
-rw-r--r-- | libodbcpp/column.cpp | 2 | ||||
-rw-r--r-- | libodbcpp/param.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libodbcpp/column.cpp b/libodbcpp/column.cpp index a34946a..9ff6d8d 100644 --- a/libodbcpp/column.cpp +++ b/libodbcpp/column.cpp @@ -61,7 +61,7 @@ ODBC::Column::bind() } } -ODBC::TimeStampColumn::operator tm() const +ODBC::TimeStampColumn::operator struct tm() const { struct tm t; t << data; diff --git a/libodbcpp/param.cpp b/libodbcpp/param.cpp index 7f2319c..466892c 100644 --- a/libodbcpp/param.cpp +++ b/libodbcpp/param.cpp @@ -98,7 +98,7 @@ ODBC::GlibUstringParam::operator=(Glib::ustring const & d) } void -ODBC::TimeStampParam::operator=(long const & d) +ODBC::TimeStampParam::operator=(time_t const & d) { struct tm t; gmtime_r(&d, &t); |