diff options
author | Peter Powell <petpow@saberuk.com> | 2019-08-13 20:11:11 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-08-13 20:11:11 +0100 |
commit | 2d35c3396a1f00375d45b874dafb9e0bdb520a9b (patch) | |
tree | ba19a394ea07799ea94ec31da6c85646fe3bd6eb /src/modules/extra | |
parent | 0827c5c7425a17b6a569a9f706b5b3dea8fa345a (diff) |
Fix some remaining uses of ato[il].
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_pgsql.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 5d059ec9c..37cf92704 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -103,7 +103,7 @@ class PgSQLresult : public SQL::Result { rows = PQntuples(res); if (!rows) - rows = atoi(PQcmdTuples(res)); + rows = ConvToNum<int>(PQcmdTuples(res)); } ~PgSQLresult() |