From 1ede41e012f7363a0d2804e70be0f6c772997e82 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 2 Apr 2010 01:05:25 +0000 Subject: lots of gcc warning fixes and a few newbies --- libodbcpp/command.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libodbcpp/command.h') diff --git a/libodbcpp/command.h b/libodbcpp/command.h index 55e6703..9da291c 100644 --- a/libodbcpp/command.h +++ b/libodbcpp/command.h @@ -14,6 +14,7 @@ namespace ODBC { virtual ~Command() = 0; void bindParamI(unsigned int i, int val); + void bindParamI(unsigned int i, long val); void bindParamI(unsigned int i, unsigned int val); void bindParamI(unsigned int i, long unsigned int val); void bindParamI(unsigned int i, long long unsigned int val); @@ -26,9 +27,11 @@ namespace ODBC { void bindParamS(unsigned int i, String); void bindParamT(unsigned int i, struct tm *); void bindParamT(unsigned int i, time_t); + void bindParamT(unsigned int i, const TimeTypePair & p) { bindParamT(i, p.c()); } const String sql; protected: + friend class BindBase; SQLHSTMT hStmt; const Connection& connection; private: -- cgit v1.2.3