aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-sorting-utils.c
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@5z.com>2001-08-29 09:30:26 +0800
committerGeorge Lebl <jirka@src.gnome.org>2001-08-29 09:30:26 +0800
commit87b3e9277fde5e764c2dfdce6bc848afe84ef137 (patch)
tree8a688cb6f36f3ff266272ad6f1bc848068a25a31 /widgets/table/e-table-sorting-utils.c
parent5248c1282cdf4eed7193f6ac0827f4a68504400f (diff)
downloadgsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar.gz
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar.bz2
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar.lz
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar.xz
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.tar.zst
gsoc2013-evolution-87b3e9277fde5e764c2dfdce6bc848afe84ef137.zip
Patch to fix few 64bit issues
Tue Aug 28 18:29:28 2001 George Lebl <jirka@5z.com> Patch to fix few 64bit issues * gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag) gal/widgets/e-categories.c (e_categories_value_at) (e_categories_value_to_string): Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers and ints to fix 64bit issues connected with that. * gal/e-table/e-table-sorting-utils.c (e_table_sorting_utils_tree_check_position) gal/util/e-sorter-array.c (e_sorter_array_append): Use size_t for size not ints to fix crashes * gal/e-text/e-completion-match.c, gal/e-text/e-completion.c: Include <string.h> svn path=/trunk/; revision=12507
Diffstat (limited to 'widgets/table/e-table-sorting-utils.c')
-rw-r--r--widgets/table/e-table-sorting-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-sorting-utils.c b/widgets/table/e-table-sorting-utils.c
index 4b2d581206..212a14a69d 100644
--- a/widgets/table/e-table-sorting-utils.c
+++ b/widgets/table/e-table-sorting-utils.c
@@ -315,8 +315,8 @@ e_table_sorting_utils_tree_check_position (ETreeModel *source, ETableSortInfo *s
int
e_table_sorting_utils_tree_insert(ETreeModel *source, ETableSortInfo *sort_info, ETableHeader *full_header, ETreePath *map_table, int count, ETreePath path)
{
- int start;
- int end;
+ size_t start;
+ size_t end;
ETreeSortClosure closure;
closure.tree = source;