| ▲ | kevin_thibedeau 2 hours ago | |
idx should be a size_t. | ||
| ▲ | einpoklum 41 minutes ago | parent [-] | |
Actually, there are historical reasons why `int` may be used. Look at the definition of the %n format specifier - it expects an `int *` argument. And all of the famirly functions return `int`'s ... see also: | ||