diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-22 07:34:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-22 07:34:35 +0000 |
commit | b1e1a0fc0dc754a6cb2454163d6b00913a854c35 (patch) | |
tree | a9f459e8cedc471234abcb1abecc9d2fe2d993c3 /st.c | |
parent | 5054d54b8233efbe5d4b761da5e466637afaa86d (diff) | |
download | ruby-b1e1a0fc0dc754a6cb2454163d6b00913a854c35.tar.gz ruby-b1e1a0fc0dc754a6cb2454163d6b00913a854c35.tar.xz ruby-b1e1a0fc0dc754a6cb2454163d6b00913a854c35.zip |
* st.c (st_table_entry, st_get_key): use st_index_t.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ typedef struct st_table_entry st_table_entry; struct st_table_entry { - unsigned int hash; + st_index_t hash; st_data_t key; st_data_t record; st_table_entry *next; @@ -319,7 +319,7 @@ st_lookup(st_table *table, register st_data_t key, st_data_t *value) int st_get_key(st_table *table, register st_data_t key, st_data_t *result) { - unsigned int hash_val, bin_pos; + st_index_t hash_val, bin_pos; register st_table_entry *ptr; if (table->entries_packed) { |