aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/entropy/rdrand/rdrand.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2016-03-09 08:28:08 -0500
committerJack Lloyd <[email protected]>2016-03-09 08:28:08 -0500
commiteb86549ab43744103c901d56e4f5ff4d0c6e9b64 (patch)
tree7289a4e22c6076d44ba13d77a86ef480993af697 /src/lib/entropy/rdrand/rdrand.cpp
parent58c89ae470c68bf300ea937740c233e2b5715535 (diff)
Trivial warning fixes
Diffstat (limited to 'src/lib/entropy/rdrand/rdrand.cpp')
-rw-r--r--src/lib/entropy/rdrand/rdrand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/entropy/rdrand/rdrand.cpp b/src/lib/entropy/rdrand/rdrand.cpp
index 13263bb63..89234b460 100644
--- a/src/lib/entropy/rdrand/rdrand.cpp
+++ b/src/lib/entropy/rdrand/rdrand.cpp
@@ -20,7 +20,7 @@ void Intel_Rdrand::poll(Entropy_Accumulator& accum) {
if(!CPUID::has_rdrand())
return;
- for(size_t i = 0; i != BOTAN_ENTROPY_INTEL_RNG_POLLS; ++i)
+ for(size_t p = 0; p != BOTAN_ENTROPY_INTEL_RNG_POLLS; ++p)
{
for(size_t i = 0; i != BOTAN_ENTROPY_RDRAND_RETRIES; ++i)
{