Re: [PATCH 3/5] Weston: use unsigned int, iterators

2012-03-31 Thread Andreas Ericsson
Why does this matter? I'm assuming it's because they're matched agains unsigned ints in the loops, but it would be good to say so in the commit message so people aren't left guessing. Useless changes are confusing for people who need to do actual changes to the same code later, so keep them to a m

[PATCH 3/5] Weston: use unsigned int, iterators

2012-03-31 Thread Martin Minarik
diff --git a/clients/dnd.c b/clients/dnd.c index 66ba2ce..a99fbec 100644 --- a/clients/dnd.c +++ b/clients/dnd.c @@ -167,7 +167,7 @@ dnd_redraw_handler(struct widget *widget, void *data) struct rectangle allocation; cairo_t *cr; cairo_surface_t *surface; - int i; +