From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <9d6cbe92e63cdd91abe4227997ecb0b7@felloff.net> Date: Tue, 5 Jan 2016 23:32:30 +0100 From: cinap_lenrek@felloff.net To: 9fans@9fans.net In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] subtracting pointers on amd64 6c Topicbox-Message-UUID: 7e837880-ead9-11e9-9d60-3106f5b1d025 > there are usable ANSI formats for the difference and sizeof types. so one would write %td instead of %ld for ptrdiff type? that seems easy. i'm not so sure how usize/ssize would work. %zud and %zd? or would the z flag imply unsigned? would the return type of sizeof() also become usize? -- cinap