summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-06-30 19:50:43 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-06-30 19:50:43 +0000
commit9c53b470ecba40a556a94215387cc2ba8711db6b (patch)
tree9da663e7fefb8057374dbefb1bef5d52e6adb2f3
parentb78a0792a46cad24fb67abed406f5d6c8add26c1 (diff)
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)
-rw-r--r--ChangeLog3
-rw-r--r--ChangeLog.pre-2-103
-rw-r--r--ChangeLog.pre-2-123
-rw-r--r--ChangeLog.pre-2-83
-rw-r--r--glib/gstring.c4
5 files changed, 14 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 0f37f47a8..51ac45aff 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 0f37f47a8..51ac45aff 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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)
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 0f37f47a8..51ac45aff 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -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)
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 0f37f47a8..51ac45aff 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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)
diff --git a/glib/gstring.c b/glib/gstring.c
index 7eec7f91c..8cd007d92 100644
--- a/glib/gstring.c
+++ b/glib/gstring.c
@@ -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++)