diff options
| author | Michael Brown | 2009-08-02 23:19:31 +0200 |
|---|---|---|
| committer | Michael Brown | 2009-08-02 23:44:57 +0200 |
| commit | 5552a1b202a6fa09395a749611923b12183a6e98 (patch) | |
| tree | e52d3da2ea04714594f53a19c4f2e38db7190d46 /src/include/string.h | |
| parent | [build] Allow safe concurrent builds of .iso, .liso and .sdsk targets (diff) | |
| download | ipxe-5552a1b202a6fa09395a749611923b12183a6e98.tar.gz ipxe-5552a1b202a6fa09395a749611923b12183a6e98.tar.xz ipxe-5552a1b202a6fa09395a749611923b12183a6e98.zip | |
[tcp] Avoid printf format warnings on some compilers
In several places, we currently use size_t to represent a difference
between TCP sequence numbers. This can cause compiler warnings
relating to printf format specifiers, since the result of
(uint32_t+size_t) may be an unsigned long on some compilers.
Fix by using uint32_t for all variables that represent a difference
between TCP sequence numbers.
Tested-by: Joshua Oreman <oremanj@xenon.get-linux.org>
Diffstat (limited to 'src/include/string.h')
0 files changed, 0 insertions, 0 deletions
