aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-08-27 19:41:34 +0000
committerlloyd <[email protected]>2008-08-27 19:41:34 +0000
commit766f3b2aa83778c5910e5e8d093feadfda31dbb5 (patch)
tree3bec11ed530489c12d1a01ee08a5363bf7ea556d
parent90026cde78c40408346a6c32ea6a9c9c01027906 (diff)
GCC 4.4 pointed out an ambigious statement and suggests explicit braces,1.6.5
added in this change. Same change already made to mainline previously.
-rw-r--r--src/numthry.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/numthry.cpp b/src/numthry.cpp
index 19fae1770..6c74b3c7f 100644
--- a/src/numthry.cpp
+++ b/src/numthry.cpp
@@ -57,10 +57,12 @@ u32bit miller_rabin_test_iterations(u32bit bits, bool verify)
for(u32bit j = 0; tests[j].bits; ++j)
{
if(bits <= tests[j].bits)
+ {
if(verify)
return tests[j].verify_iter;
else
return tests[j].check_iter;
+ }
}
return 2;
}