summaryrefslogtreecommitdiff
path: root/libodbcpp/param.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2010-11-22 21:08:14 +0000
committerrandomdan <randomdan@localhost>2010-11-22 21:08:14 +0000
commitf8a3394bacbc65ad36fd72287b2c3c8a516b6757 (patch)
tree3605d3eb609f5cf98f119de41176e18bd7a583ab /libodbcpp/param.cpp
parentAdd -fPIC flag, cos those libs will get built dynamically (diff)
downloadlibdbpp-odbc-f8a3394bacbc65ad36fd72287b2c3c8a516b6757.tar.bz2
libdbpp-odbc-f8a3394bacbc65ad36fd72287b2c3c8a516b6757.tar.xz
libdbpp-odbc-f8a3394bacbc65ad36fd72287b2c3c8a516b6757.zip
Fix incorrect use of NULL, picked up by new GCC
Diffstat (limited to 'libodbcpp/param.cpp')
-rw-r--r--libodbcpp/param.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/param.cpp b/libodbcpp/param.cpp
index 1992252..3761516 100644
--- a/libodbcpp/param.cpp
+++ b/libodbcpp/param.cpp
@@ -6,7 +6,7 @@
ODBC::Param::Param() :
paramCmd(NULL),
- paramIdx(NULL),
+ paramIdx(0),
paramBound(false)
{
}