aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sqlitepp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sqlitepp.cpp b/src/sqlitepp.cpp
index fa35b30..272284b 100644
--- a/src/sqlitepp.cpp
+++ b/src/sqlitepp.cpp
@@ -268,8 +268,8 @@ int ResultSet::readInt(const int column) const {
std::string ResultSet::readString(const int column) const {
m_statement->requireOpen();
m_statement->requireCanRead();
- return std::string((const char*) sqlite3_column_text(m_statement->m_handle,
- column));
+ return std::string(reinterpret_cast<const char*>(
+ sqlite3_column_text(m_statement->m_handle, column)));
}
bool ResultSet::next() {