changeset 35844:996a7f82f859

Remove useless casts.
author reimar
date Sun, 10 Mar 2013 12:17:19 +0000
parents 6085f26a29c1
children 1dbf7d79a3e0
files libao2/ao_win32.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_win32.c	Sun Mar 10 10:52:17 2013 +0000
+++ b/libao2/ao_win32.c	Sun Mar 10 12:17:19 2013 +0000
@@ -117,8 +117,8 @@
 		{
 			ao_control_vol_t* vol = (ao_control_vol_t*)arg;
 			waveOutGetVolume(hWaveOut,&volume);
-			vol->left = (float)(LOWORD(volume)/655.35);
-			vol->right = (float)(HIWORD(volume)/655.35);
+			vol->left = LOWORD(volume)/655.35;
+			vol->right = HIWORD(volume)/655.35;
 			mp_msg(MSGT_AO, MSGL_DBG2,"ao_win32: volume left:%f volume right:%f\n",vol->left,vol->right);
 			return CONTROL_OK;
 		}