From 48bbe2a1aae29ae53d956d0062daca592910394e Mon Sep 17 00:00:00 2001 From: Fred Kiefer Date: Tue, 17 Jun 2003 13:31:33 +0000 Subject: [PATCH] Removed compiler warning about signed/unsigned comparision. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/back/trunk@16939 72102866-910b-0410-8b05-ffd578937521 --- Source/x11/xdnd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/x11/xdnd.c b/Source/x11/xdnd.c index 62d5543..fb57ce0 100644 --- a/Source/x11/xdnd.c +++ b/Source/x11/xdnd.c @@ -152,7 +152,7 @@ xdnd_is_dnd_aware(DndClass *dnd, Window window, int *version, Atom *typelist) result = 0; for (t = typelist; *t; t++) { - int j; + unsigned long j; for (j = 1; j < count; j++) { if (types[j] == *t) @@ -369,8 +369,8 @@ void xdnd_get_type_list(DndClass * dnd, Window window, Atom ** typelist) { Atom type, *a; - int format, i; - unsigned long count, remaining; + int format; + unsigned long i, count, remaining; unsigned char *data = NULL; *typelist = 0;