signed size_t ?

From: Christoph Lameter
Date: Tue Dec 11 2012 - 09:29:54 EST


On Tue, 11 Dec 2012, kbuild test robot wrote:

> mm/slab_common.c: In function 'create_boot_cache':
> mm/slab_common.c:219:6: warning: format '%zd' expects argument of type 'signed size_t', but argument 3 has type 'size_t' [-Wformat]

We already changed that once from %td to %zd so that the size_t works
correctly.

Does a signed size_t make any sense?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/