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 20ae0b56c124ac88060a03bb04acbb8a51410b7a..846b59b694a48e8482095bd0a87d2a56a018f255 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 03c710cfcb0d64f3b3af06daebdbeb39b1cd9d51..3574faebbbd5f02cfdf12a278227244502a4d04b 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