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:
Matthias Clasen 2005-06-30 19:50:43 +00:00 committed by Matthias Clasen
parent b78a0792a4
commit 9c53b470ec
5 changed files with 14 additions and 2 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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++)