summaryrefslogtreecommitdiff
path: root/libodbcpp/param.cpp
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
committerrandomdan <randomdan@localhost>2008-11-13 14:45:11 +0000
commitefd292508070835781a0d92448a3661279dfd307 (patch)
tree0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/param.cpp
parentFix the C++ template errors (diff)
downloadlibdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz
libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip
Lots of little fixes
Diffstat (limited to 'libodbcpp/param.cpp')
-rw-r--r--libodbcpp/param.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/libodbcpp/param.cpp b/libodbcpp/param.cpp
index 0e49067..a2a90f0 100644
--- a/libodbcpp/param.cpp
+++ b/libodbcpp/param.cpp
@@ -2,6 +2,7 @@
#include "param.h"
#include "command.h"
#include "error.h"
+#include <string.h>
ODBC::Param::Param() :
bound(false)
@@ -147,7 +148,7 @@ void
ODBC::Command::bindParamS(unsigned int i, const unsigned char * val)
{
const unsigned char * x = val;
- while (*val++);
+ while (*val++) ;
bindParamS(i, val, val - x);
}
void