[Freeswitch-svn] [commit] r4097 - freeswitch/trunk/libs/libsndfile/src

Freeswitch SVN mikej at freeswitch.org
Wed Jan 31 02:55:18 EST 2007


Author: mikej
Date: Wed Jan 31 02:55:18 2007
New Revision: 4097

Modified:
   freeswitch/trunk/libs/libsndfile/src/file_io.c

Log:
pointer truncation fix.

Modified: freeswitch/trunk/libs/libsndfile/src/file_io.c
==============================================================================
--- freeswitch/trunk/libs/libsndfile/src/file_io.c	(original)
+++ freeswitch/trunk/libs/libsndfile/src/file_io.c	Wed Jan 31 02:55:18 2007
@@ -858,10 +858,8 @@
 /* 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 */



More information about the Freeswitch-svn mailing list