pointer truncation fix.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4097 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-01-31 07:55:18 +00:00
parent 27f184f2bf
commit 55cdd067c0
1 changed files with 1 additions and 3 deletions

View File

@ -858,10 +858,8 @@ psf_set_stdio (SF_PRIVATE *psf, int mode)
/* USE_WINDOWS_API */ void
psf_set_file (SF_PRIVATE *psf, int fd)
{ HANDLE handle ;
long osfhandle ;
osfhandle = _get_osfhandle (fd) ;
handle = (HANDLE) osfhandle ;
handle = (HANDLE) _get_osfhandle (fd) ;
psf->hfile = handle ;
} /* psf_set_file */