From 55cdd067c010170a1842eab71ca098409f132567 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 31 Jan 2007 07:55:18 +0000 Subject: [PATCH] pointer truncation fix. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4097 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- libs/libsndfile/src/file_io.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/libsndfile/src/file_io.c b/libs/libsndfile/src/file_io.c index af5ccd6fcb..c7ae2d519e 100644 --- a/libs/libsndfile/src/file_io.c +++ b/libs/libsndfile/src/file_io.c @@ -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 */