From: Sebastian Wilhelmi Date: Tue, 25 Sep 2001 07:17:50 +0000 (+0000) Subject: Corrected the array size (cough, cough). Pointed out by X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e29682d0ada4777ab18a49ceb25675e7a862e17d;p=dana%2Fcg-glib.git 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. --- 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