diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | include/ruby/st.h | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Sep 28 19:05:05 2009 Martin Duerst <duerst@it.aoyama.ac.jp> + + * include/ruby/st.h: aligned prototype of st_hash_uint32 with function + definition (fixing compiling problem on cygwin) + Mon Sep 28 12:13:15 2009 Yukihiro Matsumoto <matz@ruby-lang.org> * method.h (enum): new method type VM_METHOD_TYPE_MISSING. diff --git a/include/ruby/st.h b/include/ruby/st.h index d491957ba1..76f240d1ca 100644 --- a/include/ruby/st.h +++ b/include/ruby/st.h @@ -109,7 +109,7 @@ int st_strcasecmp(const char *s1, const char *s2); int st_strncasecmp(const char *s1, const char *s2, size_t n); size_t st_memsize(const st_table *); st_index_t st_hash(const void *ptr, size_t len, st_index_t h); -st_index_t st_hash_uint32(st_index_t h, unsigned int i); +st_index_t st_hash_uint32(st_index_t h, uint32_t i); st_index_t st_hash_uint(st_index_t h, st_index_t i); st_index_t st_hash_end(st_index_t h); st_index_t st_hash_start(st_index_t h); |