From: matz@... (Yukihiro Matsumoto) Date: 2001-06-22T17:50:16+09:00 Subject: [ruby-talk:16758] Re: Symbols, and their use as hash keys Hi, In message "[ruby-talk:16756] Re: Symbols, and their use as hash keys" on 01/06/22, "Aristarkh A Zagorodnikov" writes: |> Here's the patch. |Thanks a lot! ;) I forgot to modify one place. You need to apply this additional patch. --- st.c 2001/06/22 08:16:31 1.13.2.2 +++ st.c 2001/06/22 08:37:01 1.13.2.3 @@ -67,3 +67,3 @@ #define do_hash(key,table) (unsigned int)(*(table)->type->hash)((key)) -#define do_hash_bin(key,table) (do_hash(key, table)&(table)->num_bins) +#define do_hash_bin(key,table) (do_hash(key, table)%(table)->num_bins)