aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/d_mayer_fft.c
diff options
context:
space:
mode:
authorN.N. <matju@users.sourceforge.net>2009-05-17 00:59:33 +0000
committerN.N. <matju@users.sourceforge.net>2009-05-17 00:59:33 +0000
commitd2dcbdfe87ee6f0625ab5a2e9a6a3f7f8b0ac3ca (patch)
tree3b101a6aec4eb18e1203246ed8fb3f1127bc0fa9 /desiredata/src/d_mayer_fft.c
parent263ac28486b4e6f9b3aaf8b8a0811bb91cb2a122 (diff)
remove warnings
svn path=/trunk/; revision=11411
Diffstat (limited to 'desiredata/src/d_mayer_fft.c')
-rw-r--r--desiredata/src/d_mayer_fft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/desiredata/src/d_mayer_fft.c b/desiredata/src/d_mayer_fft.c
index 74ee1c76..563f02ba 100644
--- a/desiredata/src/d_mayer_fft.c
+++ b/desiredata/src/d_mayer_fft.c
@@ -228,13 +228,13 @@ REAL c1,s1,s2,c2,s3,c3,s4,c4;
for (k1=1,k2=0;k1<n;k1++)
{
REAL aa;
- for (k=n>>1; (!((k2^=k)&k)); k>>=1);
+ for (k=n>>1; (!((k2^=k)&k)); k>>=1) {}
if (k1>k2)
{
aa=fz[k1];fz[k1]=fz[k2];fz[k2]=aa;
}
}
- for ( k=0 ; (1<<k)<n ; k++ );
+ for ( k=0 ; (1<<k)<n ; k++ ) {}
k &= 1;
if (k==0)
{