Re: Trivial fixes for drivers/gpu/drm/i915/

From: Marcel Holtmann
Date: Fri Jun 19 2009 - 16:35:40 EST


Hi Krzysztof,

> size_t is (some sort of) int on x86-32 and long on x86-64, eliminate
> compiler warnings by casting to long.

just using %zd or %zu would do the same trick and avoid stupid casts.

Regards

Marcel


--
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/