This patch corrects warnings which seem to appear

only on 64-bit compilers, gcc-4.3.2.



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@174440 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2009-02-10 05:13:15 +00:00
parent ba39cdfefa
commit 308faf8b56

View File

@@ -713,7 +713,7 @@ static int osp_auth(
unsigned int* timelimit) unsigned int* timelimit)
{ {
int res; int res;
struct osp_provider* p; struct osp_provider* p = NULL;
char dest[OSP_NORSTR_SIZE]; char dest[OSP_NORSTR_SIZE];
*transaction = OSP_INVALID_HANDLE; *transaction = OSP_INVALID_HANDLE;
@@ -861,7 +861,7 @@ static int osp_lookup(
struct osp_result* result) struct osp_result* result)
{ {
int res; int res;
struct osp_provider* p; struct osp_provider* p = NULL;
char source[OSP_NORSTR_SIZE]; char source[OSP_NORSTR_SIZE];
char callingnum[OSP_NORSTR_SIZE]; char callingnum[OSP_NORSTR_SIZE];
char callednum[OSP_NORSTR_SIZE]; char callednum[OSP_NORSTR_SIZE];
@@ -1076,7 +1076,7 @@ static int osp_next(
struct osp_result* result) struct osp_result* result)
{ {
int res; int res;
struct osp_provider* p; struct osp_provider* p = NULL;
char callingnum[OSP_NORSTR_SIZE]; char callingnum[OSP_NORSTR_SIZE];
char callednum[OSP_NORSTR_SIZE]; char callednum[OSP_NORSTR_SIZE];
char destination[OSP_NORSTR_SIZE]; char destination[OSP_NORSTR_SIZE];