aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstate/scan_name.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-12 20:05:14 +0000
committerlloyd <[email protected]>2010-10-12 20:05:14 +0000
commitb29e17a4ea70bcabb7d8eeb441bb70fd0c87b185 (patch)
treec297f0245d3a604fe4dea849979b84c3b4e709f9 /src/libstate/scan_name.h
parent9abeb56f7d355b8ff86cbb465ba1e0a08257ec12 (diff)
Use size_t in SCAN_Name
Diffstat (limited to 'src/libstate/scan_name.h')
-rw-r--r--src/libstate/scan_name.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libstate/scan_name.h b/src/libstate/scan_name.h
index 3d11d54f6..0d30dc44c 100644
--- a/src/libstate/scan_name.h
+++ b/src/libstate/scan_name.h
@@ -45,35 +45,35 @@ class BOTAN_DLL SCAN_Name
/**
* @return number of arguments
*/
- u32bit arg_count() const { return args.size(); }
+ size_t arg_count() const { return args.size(); }
/**
* @param lower is the lower bound
* @param upper is the upper bound
* @return if the number of arguments is between lower and upper
*/
- bool arg_count_between(u32bit lower, u32bit upper) const
+ bool arg_count_between(size_t lower, size_t upper) const
{ return ((arg_count() >= lower) && (arg_count() <= upper)); }
/**
* @param i which argument
* @return ith argument
*/
- std::string arg(u32bit i) const;
+ std::string arg(size_t i) const;
/**
* @param i which argument
* @param def_value the default value
* @return ith argument or the default value
*/
- std::string arg(u32bit i, const std::string& def_value) const;
+ std::string arg(size_t i, const std::string& def_value) const;
/**
* @param i which argument
* @param def_value the default value
- * @return ith argument as a u32bit, or the default value
+ * @return ith argument as an integer, or the default value
*/
- u32bit arg_as_u32bit(u32bit i, u32bit def_value) const;
+ size_t arg_as_integer(size_t i, size_t def_value) const;
/**
* @return cipher mode (if any)