/[pspp]/pspp/src/hash.c
ViewVC logotype

Diff of /pspp/src/hash.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by blp, Sun Jul 31 21:42:46 2005 UTC revision 1.16 by blp, Tue Oct 25 04:28:17 2005 UTC
# Line 77  next_power_of_2 (size_t x) Line 77  next_power_of_2 (size_t x)
77  unsigned  unsigned
78  hsh_hash_bytes (const void *buf_, size_t size)  hsh_hash_bytes (const void *buf_, size_t size)
79  {  {
80    const unsigned char *buf = buf_;    const unsigned char *buf = (const unsigned char *) buf_;
81    unsigned hash;    unsigned hash;
82    
83    assert (buf != NULL);    assert (buf != NULL);
# Line 93  hsh_hash_bytes (const void *buf_, size_t Line 93  hsh_hash_bytes (const void *buf_, size_t
93  unsigned  unsigned
94  hsh_hash_string (const char *s_)  hsh_hash_string (const char *s_)
95  {  {
96    const unsigned char *s = s_;    const unsigned char *s = (const unsigned char *) s_;
97    unsigned hash;    unsigned hash;
98    
99    assert (s != NULL);    assert (s != NULL);
# Line 109  hsh_hash_string (const char *s_) Line 109  hsh_hash_string (const char *s_)
109  unsigned  unsigned
110  hsh_hash_case_string (const char *s_)  hsh_hash_case_string (const char *s_)
111  {  {
112    const unsigned char *s = s_;    const unsigned char *s = (const unsigned char *) s_;
113    unsigned hash;    unsigned hash;
114    
115    assert (s != NULL);    assert (s != NULL);

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26