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];