Fixes for format strings

Ulrich Drepper drepper@redhat.com
Sat Dec 9 10:08:00 GMT 2000


Jakub Jelinek <jakub@redhat.com> writes:

> > Where?
> 
> I think (int) (cp - last_str)

Yes.  The type for the * argument is always int.  ptr - ptr has type
ptrdiff_t.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


More information about the Libc-hacker mailing list