diff options
author | lloyd <[email protected]> | 2010-10-12 15:34:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 15:34:46 +0000 |
commit | ff173a4edb68992d30deed57590fd04c54488a93 (patch) | |
tree | eb1c9335d5d8199631bd957108865ffa15d2994d /src/algo_factory/algo_cache.h | |
parent | bf9ae0d8c0b1e8c7a36ce256d074a236af7fd0f3 (diff) |
s/u32bit/size_t/
Diffstat (limited to 'src/algo_factory/algo_cache.h')
-rw-r--r-- | src/algo_factory/algo_cache.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/algo_factory/algo_cache.h b/src/algo_factory/algo_cache.h index 4606cac23..0d891ad3f 100644 --- a/src/algo_factory/algo_cache.h +++ b/src/algo_factory/algo_cache.h @@ -20,7 +20,7 @@ namespace Botan { * @param prov_name a provider name * @return weight for this provider */ -u32bit static_provider_weight(const std::string& prov_name); +size_t static_provider_weight(const std::string& prov_name); /** * Algorithm_Cache (used by Algorithm_Factory) @@ -134,14 +134,14 @@ const T* Algorithm_Cache<T>::get(const std::string& algo_spec, const T* prototype = 0; std::string prototype_provider; - u32bit prototype_prov_weight = 0; + size_t prototype_prov_weight = 0; const std::string pref_provider = search_map(pref_providers, algo_spec); for(provider_iterator i = algo->second.begin(); i != algo->second.end(); ++i) { const std::string prov_name = i->first; - const u32bit prov_weight = static_provider_weight(prov_name); + const size_t prov_weight = static_provider_weight(prov_name); // preferred prov exists, return immediately if(prov_name == pref_provider) |