changes to compile with g++

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@777 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Jay Sorg 2004-10-03 20:19:51 +00:00
parent 0858c87cec
commit 966684035b

View File

@ -1,4 +1,4 @@
/*
/*
rdesktop: A Remote Desktop Protocol client.
Sound Channel Process Functions - Open Sound System
Copyright (C) Matthew Chapman 2003
@ -212,7 +212,7 @@ wave_out_write(STREAM s, uint16 tick, uint8 index)
packet->s.p += 4;
/* we steal the data buffer from s, give it a new one */
s->data = malloc(s->size);
s->data = (uint8 *) malloc(s->size);
if (!g_dsp_busy)
wave_out_play();