[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-sparse
Subject:    Re: Fix error() argument
From:       Linus Torvalds <torvalds () osdl ! org>
Date:       2004-11-01 18:00:04
Message-ID: Pine.LNX.4.58.0411010951290.28839 () ppc970 ! osdl ! org
[Download RAW message or body]



On Mon, 1 Nov 2004, Ralf Wildenhues wrote:
>
> Cast pointer difference to int for vararg function.

I'd prefer to just fix the printf instead. Pointer differences are 
ptrdiff_t, and I think the right modifier combination is "%td".

		Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic