From 60f40a33e3c663f9616b05a24af623f874688496 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Wed, 31 Oct 2007 21:03:15 +0000 Subject: [PATCH] fix tupe git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6111 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_odbc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_odbc.c b/src/switch_odbc.c index e20bbaea8d..0afe480306 100644 --- a/src/switch_odbc.c +++ b/src/switch_odbc.c @@ -185,7 +185,7 @@ static int db_is_up(switch_odbc_handle_t *handle) { int ret = 0; SQLHSTMT stmt = NULL; - SQLINTEGER m = 0; + SQLLEN m = 0; int result; switch_event_t *event; switch_odbc_status_t recon = 0; @@ -305,7 +305,7 @@ SWITCH_DECLARE(switch_odbc_status_t) switch_odbc_handle_callback_exec(switch_odb { SQLHSTMT stmt = NULL; SQLSMALLINT c = 0, x = 0; - SQLINTEGER m = 0, t = 0; + SQLLEN m = 0, t = 0; int result; assert(callback != NULL);