3 ms·
The true types (int, unsigned etc) are correct for local variables, since they describe registers. The sized aliases are correct for struct fields and for array
by scatters 4y ago
The true types (int, unsigned etc) are correct for local variables, since they describe registers. The sized aliases are correct for struct fields and for arrays in memory.
You should prefer signed types for computing (if not storing) sizes and for pointer arithmetic, since they are more forgiving with underflow.