mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-02 07:36:17 +01:00
Fix portability issues. (#307064, Morten Welinder)
2005-06-30 Matthias Clasen <mclasen@redhat.com> * glib/gstring.c (g_str_hash): Fix portability issues. (#307064, Morten Welinder)
This commit is contained in:
parent
b78a0792a4
commit
9c53b470ec
@ -1,5 +1,8 @@
|
||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_str_hash): Fix portability issues.
|
||||
(#307064, Morten Welinder)
|
||||
|
||||
Apply a patch which may make GLib work on BeOS again.
|
||||
(#309157, Kian Duffy)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_str_hash): Fix portability issues.
|
||||
(#307064, Morten Welinder)
|
||||
|
||||
Apply a patch which may make GLib work on BeOS again.
|
||||
(#309157, Kian Duffy)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_str_hash): Fix portability issues.
|
||||
(#307064, Morten Welinder)
|
||||
|
||||
Apply a patch which may make GLib work on BeOS again.
|
||||
(#309157, Kian Duffy)
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* glib/gstring.c (g_str_hash): Fix portability issues.
|
||||
(#307064, Morten Welinder)
|
||||
|
||||
Apply a patch which may make GLib work on BeOS again.
|
||||
(#309157, Kian Duffy)
|
||||
|
||||
|
@ -94,8 +94,8 @@ guint
|
||||
g_str_hash (gconstpointer v)
|
||||
{
|
||||
/* 31 bit hash function */
|
||||
const char *p = v;
|
||||
guint h = *p;
|
||||
const signed char *p = v;
|
||||
guint32 h = *p;
|
||||
|
||||
if (h)
|
||||
for (p += 1; *p != '\0'; p++)
|
||||
|
Loading…
Reference in New Issue
Block a user