[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Module idx
From: |
Paul Eggert |
Subject: |
Re: Module idx |
Date: |
Wed, 13 Apr 2022 00:05:44 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 |
On 4/12/22 02:12, Marc Nieper-Wißkirchen wrote:
I am wondering how to print (using printf) values of type idx_t
reliably without assuming that idx_t == ptrdiff_t and without
conversion to uintptr_t.
I just use %td, as that works better with i18n.
If we ever change idx_t to some other type (not likely) I plan to change
the %td instances to something else then; that's easier than worrying
about this now.