]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Eliminate a compiler warning with ODBC_STORAGE enabled so that it will build
authorRussell Bryant <russell@russellbryant.com>
Fri, 13 Apr 2007 17:10:19 +0000 (17:10 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 13 Apr 2007 17:10:19 +0000 (17:10 +0000)
under dev-mode.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@61645 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 464e40c3aa364d17ac7acece0f9a271ac730606d..29ecd100ac5a56af59d46e34bc42539a3c108973 100644 (file)
@@ -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];