diff options
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/e-sorter-array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/e-util/e-sorter-array.c b/e-util/e-sorter-array.c index 44cf7b0f67..ecbdb23198 100644 --- a/e-util/e-sorter-array.c +++ b/e-util/e-sorter-array.c @@ -195,7 +195,7 @@ e_sorter_array_append (ESorterArray *esa, int count) esa->sorted = g_renew(int, esa->sorted, esa->rows + count); for (i = 0; i < count; i++) { int value = esa->rows; - int pos; + size_t pos; e_bsearch (&value, esa->sorted, esa->rows, sizeof (int), esort_callback, esa, &pos, NULL); memmove (esa->sorted + pos + 1, esa->sorted + pos, sizeof (int) * (esa->rows - pos)); esa->sorted[pos] = value; |