projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14bb138
)
gqsort: Quiet a compiler warning for qsort_r
author
Colin Walters
<walters@verbum.org>
Thu, 31 Mar 2011 21:07:07 +0000
(17:07 -0400)
committer
Colin Walters
<walters@verbum.org>
Thu, 31 Mar 2011 21:07:07 +0000
(17:07 -0400)
glib/gqsort.c
patch
|
blob
|
history
diff --git
a/glib/gqsort.c
b/glib/gqsort.c
index
e2a5a2e
..
03b2db9
100644
(file)
--- 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