Skip to content

Commit

Permalink
Fix "implicit conversion from ‘float’ to ‘double’" warning in goom.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Dec 26, 2019
1 parent 654aaef commit 6e2490d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/visualisations/goom/filters.c
Expand Up @@ -603,10 +603,10 @@ zoomFilterFastRGB (Uint * pix1, Uint * pix2, ZoomFilterData * zf, Uint resx, Uin

for (us = 0; us < 0xffff; us++) {
sintable[us] =
roundf(1024 * sin ((double) us * 360
roundf(1024 * sin ((float) us * 360
/ ((float)sizeof (sintable)
/ sizeof (sintable[0]) - 1)
* 3.141592 / 180));
* 3.141592F / 180));
}

{
Expand Down

0 comments on commit 6e2490d

Please sign in to comment.