CVS: rdesktop rdpsnd_oss.c,1.39,1.40

Jay Sorg <[email protected]> Wed, 17 Jan 2007 21:42:14 -0800
Newsgroups gmane.network.rdesktop.cvs
Message-ID <[email protected]>
Update of /cvsroot/rdesktop/rdesktop
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv15706

Modified Files:
	rdpsnd_oss.c 
Log Message:
remove g++ errors and warnings

Index: rdpsnd_oss.c
===================================================================
RCS file: /cvsroot/rdesktop/rdesktop/rdpsnd_oss.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -C2 -d -r1.39 -r1.40
*** rdpsnd_oss.c	10 Jan 2007 09:15:15 -0000	1.39
--- rdpsnd_oss.c	18 Jan 2007 05:42:11 -0000	1.40
***************
*** 57,61 ****
  static int stereo;
  static int format;
! static int snd_rate;
  static short samplewidth;
  static char *dsp_dev;
--- 57,61 ----
  static int stereo;
  static int format;
! static uint32 snd_rate;
  static short samplewidth;
  static char *dsp_dev;
***************
*** 294,299 ****
  	if (ioctl(dsp_fd, SNDCTL_DSP_SPEED, &snd_rate) == -1)
  	{
! 		int rates[] = { 44100, 48000, 0 };
! 		int *prates = rates;
  
  		while (*prates != 0)
--- 294,299 ----
  	if (ioctl(dsp_fd, SNDCTL_DSP_SPEED, &snd_rate) == -1)
  	{
! 		uint32 rates[] = { 44100, 48000, 0 };
! 		uint32 *prates = rates;
  
  		while (*prates != 0)


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV