mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 06:26:15 +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>
|
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.
|
Apply a patch which may make GLib work on BeOS again.
|
||||||
(#309157, Kian Duffy)
|
(#309157, Kian Duffy)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
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.
|
Apply a patch which may make GLib work on BeOS again.
|
||||||
(#309157, Kian Duffy)
|
(#309157, Kian Duffy)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
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.
|
Apply a patch which may make GLib work on BeOS again.
|
||||||
(#309157, Kian Duffy)
|
(#309157, Kian Duffy)
|
||||||
|
|
||||||
|
@ -1,5 +1,8 @@
|
|||||||
2005-06-30 Matthias Clasen <mclasen@redhat.com>
|
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.
|
Apply a patch which may make GLib work on BeOS again.
|
||||||
(#309157, Kian Duffy)
|
(#309157, Kian Duffy)
|
||||||
|
|
||||||
|
@ -94,8 +94,8 @@ guint
|
|||||||
g_str_hash (gconstpointer v)
|
g_str_hash (gconstpointer v)
|
||||||
{
|
{
|
||||||
/* 31 bit hash function */
|
/* 31 bit hash function */
|
||||||
const char *p = v;
|
const signed char *p = v;
|
||||||
guint h = *p;
|
guint32 h = *p;
|
||||||
|
|
||||||
if (h)
|
if (h)
|
||||||
for (p += 1; *p != '\0'; p++)
|
for (p += 1; *p != '\0'; p++)
|
||||||
|
Loading…
Reference in New Issue
Block a user