1
0
mirror of https://git.savannah.gnu.org/git/gperf.git synced 2025-12-02 21:19:24 +00:00

Use 'unsigned int' instead of 'int' where it makes sense.

This commit is contained in:
Bruno Haible
2003-03-17 09:06:26 +00:00
parent 7a8b43182a
commit 40f37680ac
5 changed files with 26 additions and 12 deletions

View File

@@ -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;