Signed-off-by: Frediano Ziglio <fziglio@xxxxxxxxxx> --- server/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sound.c b/server/sound.c index 307d292..5e056b6 100644 --- a/server/sound.c +++ b/server/sound.c @@ -418,7 +418,7 @@ static int snd_record_handle_message(SndChannelClient *client, size_t size, uint } switch (type) { case SPICE_MSGC_RECORD_DATA: - return snd_record_handle_write((RecordChannelClient *)client, size, message); + return snd_record_handle_write(record_client, size, message); case SPICE_MSGC_RECORD_MODE: { SpiceMsgcRecordMode *mode = (SpiceMsgcRecordMode *)message; SndChannel *channel = client->channel; -- git-series 0.9.1 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel