diff options
| author | Thom Johansen <thomj@rockbox.org> | 2007-02-05 01:18:29 +0000 |
|---|---|---|
| committer | Thom Johansen <thomj@rockbox.org> | 2007-02-05 01:18:29 +0000 |
| commit | 5ba289bc273e20e5f01323940867d4b3f2c399b4 (patch) | |
| tree | 280ca26ca52967a61c6586d452f5540b17c51a0f /apps/plugins/lib | |
| parent | 5f48e1590f16049aaaf916ad72d6016a4e7ffa5c (diff) | |
| download | rockbox-5ba289bc273e20e5f01323940867d4b3f2c399b4.zip rockbox-5ba289bc273e20e5f01323940867d4b3f2c399b4.tar.gz rockbox-5ba289bc273e20e5f01323940867d4b3f2c399b4.tar.bz2 rockbox-5ba289bc273e20e5f01323940867d4b3f2c399b4.tar.xz | |
Kill a warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12204 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/lib')
| -rw-r--r-- | apps/plugins/lib/fixedpoint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lib/fixedpoint.c b/apps/plugins/lib/fixedpoint.c index 9c34c2a..56597c1 100644 --- a/apps/plugins/lib/fixedpoint.c +++ b/apps/plugins/lib/fixedpoint.c @@ -131,7 +131,7 @@ long fsqrt(long a, unsigned int fracbits) const unsigned iterations = 4; for (n = 0; n < iterations; ++n) - b = (b + DIV64(a, b, fracbits))/2; + b = (b + (long)(((long long)(a) << fracbits)/b))/2; return b; } |