On Mon, Jun 06, 2011 at 09:07:19PM +0200, Sami Kerola wrote: > + if ((unsigned long) pno+4 >= ARRAY_SIZE(z->partitions)) { Why 'unsigned long'? I guess that ARRAY_SIZE returns size_t. Maybe it would be better to use size_t for partno numbers rather than add the cast. Karel -- Karel Zak <kzak@xxxxxxxxxx> http://karelzak.blogspot.com -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html