From 2d35c3396a1f00375d45b874dafb9e0bdb520a9b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Tue, 13 Aug 2019 20:11:11 +0100 Subject: Fix some remaining uses of ato[il]. --- src/modules/extra/m_pgsql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/extra/m_pgsql.cpp') 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(PQcmdTuples(res)); } ~PgSQLresult() -- cgit v1.3.1-10-gc9f91