summaryrefslogtreecommitdiff
path: root/src/search.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-03-17 09:06:26 +0000
committerBruno Haible <bruno@clisp.org>2003-03-17 09:06:26 +0000
commit40f37680ac107a61bbe14efe6213f70c91c6b461 (patch)
treede9745baf74fef6c7ca230d1eef0e79180674aa4 /src/search.h
parent7a8b43182a9e171bbd307466dde6b5c7878135f4 (diff)
downloadgperf-40f37680ac107a61bbe14efe6213f70c91c6b461.tar.gz
Use 'unsigned int' instead of 'int' where it makes sense.
Diffstat (limited to 'src/search.h')
-rw-r--r--src/search.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/search.h b/src/search.h
index 928c615..2ff3f78 100644
--- a/src/search.h
+++ b/src/search.h
@@ -138,7 +138,7 @@ public:
int _total_duplicates;
/* Size of alphabet. */
- int _alpha_size;
+ unsigned int _alpha_size;
/* Counts occurrences of each key set character.
_occurrences[c] is the number of times that c occurs among the _selchars
@@ -156,7 +156,7 @@ private:
bool * _determined;
/* Exclusive upper bound for every _asso_values[c]. A power of 2. */
- int _asso_value_max;
+ unsigned int _asso_value_max;
/* Initial value for asso_values table. -1 means random. */
int _initial_asso_value;