summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gthread/ChangeLog5
-rw-r--r--gthread/gthread-impl.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gthread/ChangeLog b/gthread/ChangeLog
index 20ae0b56c..846b59b69 100644
--- a/gthread/ChangeLog
+++ b/gthread/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-25 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * gthread-impl.c: Corrected the array size (cough, cough). Pointed
+ out by gpablo@intersystems.com.ar. Fixes #61065.
+
2001-09-25 Tor Lillqvist <tml@iki.fi>
* Makefile.am: Use new macros for .def file, and check for
diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c
index 03c710cfc..3574faebb 100644
--- a/gthread/gthread-impl.c
+++ b/gthread/gthread-impl.c
@@ -38,7 +38,7 @@
#include <glib.h>
static gboolean thread_system_already_initialized = FALSE;
-static gint g_thread_priority_map [G_THREAD_PRIORITY_URGENT];
+static gint g_thread_priority_map [G_THREAD_PRIORITY_URGENT + 1];
#include G_THREAD_SOURCE