[glib] gqsort: Quiet a compiler warning for qsort_r
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gqsort: Quiet a compiler warning for qsort_r
- Date: Fri, 1 Apr 2011 16:43:18 +0000 (UTC)
commit 98365dff73d8ecc8a02b7dfedce87e6fc28f4e39
Author: Colin Walters <walters verbum org>
Date: Thu Mar 31 17:07:07 2011 -0400
gqsort: Quiet a compiler warning for qsort_r
glib/gqsort.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gqsort.c b/glib/gqsort.c
index e2a5a2e..03b2db9 100644
--- a/glib/gqsort.c
+++ b/glib/gqsort.c
@@ -63,7 +63,7 @@ g_qsort_with_data (gconstpointer pbase,
GCompareDataFunc compare_func,
gpointer user_data)
{
- qsort_r (pbase, total_elems, size, compare_func, user_data);
+ qsort_r ((gpointer)pbase, total_elems, size, compare_func, user_data);
}
#else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]