From e29682d0ada4777ab18a49ceb25675e7a862e17d Mon Sep 17 00:00:00 2001 From: Sebastian Wilhelmi Date: Tue, 25 Sep 2001 07:17:50 +0000 Subject: [PATCH] Corrected the array size (cough, cough). Pointed out by 2001-09-25 Sebastian Wilhelmi * gthread-impl.c: Corrected the array size (cough, cough). Pointed out by gpablo@intersystems.com.ar. Fixes #61065. --- gthread/ChangeLog | 5 +++++ gthread/gthread-impl.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gthread/ChangeLog b/gthread/ChangeLog index 20ae0b56..846b59b6 100644 --- a/gthread/ChangeLog +++ b/gthread/ChangeLog @@ -1,3 +1,8 @@ +2001-09-25 Sebastian Wilhelmi + + * gthread-impl.c: Corrected the array size (cough, cough). Pointed + out by gpablo@intersystems.com.ar. Fixes #61065. + 2001-09-25 Tor Lillqvist * Makefile.am: Use new macros for .def file, and check for diff --git a/gthread/gthread-impl.c b/gthread/gthread-impl.c index 03c710cf..3574faeb 100644 --- a/gthread/gthread-impl.c +++ b/gthread/gthread-impl.c @@ -38,7 +38,7 @@ #include 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 -- 2.34.1