aboutsummaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlite3.cpp
diff options
context:
space:
mode:
authorGravatar danieldg2009-09-02 00:43:56 +0000
committerGravatar danieldg2009-09-02 00:43:56 +0000
commitdeb6822302cb9009adc3450dd405817cc0dae9cd (patch)
tree660eb4ce263fe529c95a756fe46bd20c70fecf25 /src/modules/extra/m_sqlite3.cpp
parentRework mode parser into slightly smaller chunks (diff)
Cast rework: use C++ style static_cast<> instead of C-style casts
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11595 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqlite3.cpp')
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 548af82cc..ea76fbc1d 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -34,7 +34,7 @@ typedef std::deque<SQLite3Result*> ResultQueue;
unsigned long count(const char * const str, char a)
{
unsigned long n = 0;
- for (const char *p = reinterpret_cast<const char *>(str); *p; ++p)
+ for (const char *p = str; *p; ++p)
{
if (*p == '?')
++n;