Corrected the array size (cough, cough). Pointed out by
authorSebastian Wilhelmi <wilhelmi@ira.uka.de>
Tue, 25 Sep 2001 07:17:50 +0000 (07:17 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Tue, 25 Sep 2001 07:17:50 +0000 (07:17 +0000)
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.

gthread/ChangeLog
gthread/gthread-impl.c

index 20ae0b5..846b59b 100644 (file)
@@ -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
index 03c710c..3574fae 100644 (file)
@@ -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