From: Russell Bryant Date: Fri, 13 Apr 2007 17:10:19 +0000 (+0000) Subject: Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build X-Git-Tag: 1.4.7.1~435 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2ac2c7f64dafc3216f18c4402b8d0f9869816d94;p=thirdparty%2Fasterisk.git Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build under dev-mode. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61645 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 464e40c3aa..29ecd100ac 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -1347,7 +1347,7 @@ static int store_file(char *dir, char *mailboxuser, char *mailboxcontext, int ms void *fdm = MAP_FAILED; size_t fdlen = -1; SQLHSTMT stmt; - SQLINTEGER len; + SQLLEN len; char sql[PATH_MAX]; char msgnums[20]; char fn[PATH_MAX];