Messages in this thread | | | Date | Fri, 19 Jun 2009 14:19:35 -0700 | From | Randy Dunlap <> | Subject | Re: Trivial fixes for drivers/gpu/drm/i915/ |
| |
Marcel Holtmann wrote: > 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.
I.e., using %zd or %zu is the preferred fix.
-- ~Randy LPC 2009, Sept. 23-25, Portland, Oregon http://linuxplumbersconf.org/2009/
| |