From 561e49009c7b10aa7f0a003890566d1d3d559717 Mon Sep 17 00:00:00 2001 From: Corey C Date: Mon, 18 Feb 2013 14:58:26 -0500 Subject: [PATCH] wfreerdp-server: one liner -- it builds --- server/Windows/wf_wasapi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/Windows/wf_wasapi.c b/server/Windows/wf_wasapi.c index 9f36c486d..2273667cb 100644 --- a/server/Windows/wf_wasapi.c +++ b/server/Windows/wf_wasapi.c @@ -245,7 +245,7 @@ DWORD WINAPI wf_rdpsnd_wasapi_thread(LPVOID lpParam) } - hnsActualDuration = (double)REFTIMES_PER_SEC * bufferFrameCount / pwfx->nSamplesPerSec; + hnsActualDuration = (UINT32)REFTIMES_PER_SEC * bufferFrameCount / pwfx->nSamplesPerSec; hr = pAudioClient->lpVtbl->Start(pAudioClient); if (FAILED(hr))