aboutsummaryrefslogtreecommitdiffstats
path: root/src/algo_factory/algo_factory.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 15:34:46 +0000
committerlloyd <[email protected]>2010-10-12 15:34:46 +0000
commitff173a4edb68992d30deed57590fd04c54488a93 (patch)
treeeb1c9335d5d8199631bd957108865ffa15d2994d /src/algo_factory/algo_factory.cpp
parentbf9ae0d8c0b1e8c7a36ce256d074a236af7fd0f3 (diff)
s/u32bit/size_t/
Diffstat (limited to 'src/algo_factory/algo_factory.cpp')
-rw-r--r--src/algo_factory/algo_factory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/algo_factory/algo_factory.cpp b/src/algo_factory/algo_factory.cpp
index 6bd66d349..ba4a435d7 100644
--- a/src/algo_factory/algo_factory.cpp
+++ b/src/algo_factory/algo_factory.cpp
@@ -70,7 +70,7 @@ const T* factory_prototype(const std::string& algo_spec,
if(scan_name.cipher_mode() != "")
return 0;
- for(u32bit i = 0; i != engines.size(); ++i)
+ for(size_t i = 0; i != engines.size(); ++i)
{
if(provider == "" || engines[i]->provider_name() == provider)
{
@@ -141,7 +141,7 @@ void Algorithm_Factory::set_preferred_provider(const std::string& algo_spec,
/*
* Get an engine out of the list
*/
-Engine* Algorithm_Factory::get_engine_n(u32bit n) const
+Engine* Algorithm_Factory::get_engine_n(size_t n) const
{
if(n >= engines.size())
return 0;