Subject: re: LP64 advice
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: matthew green <mrg@eterna.com.au>
List: port-sparc64
Date: 01/27/2003 12:33:19
   On Sun, Jan 26, 2003 at 08:49:01PM +1100, matthew green wrote:
   
    >    what is normally done for printfs of addresses? eg
    >    
    >    	printf("%d", ptr - otherptr);
    > 
    > 
    > %p is for pointers.  however, "ptr - otherptr" has a return value of
    > size_t or is it ptrdiff_t?  ummmm for that we don't have a good solution
    > unless there is an <inttypes.h> for it... but i don't see one..
   
   That returns a ptrdiff_t.


which is printed _how_ ?