summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>2001-09-25 07:17:50 +0000
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>2001-09-25 07:17:50 +0000
commite29682d0ada4777ab18a49ceb25675e7a862e17d (patch)
tree6a6dbf3f59122013490284e30959f7acda9a107a
parent1c8de25a5ebc658c6b427e6c8d212c0f5ce49a2a (diff)
Corrected the array size (cough, cough). Pointed out by
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.
-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