summaryrefslogtreecommitdiffstats
path: root/src/include/string.h
diff options
context:
space:
mode:
authorMichael Brown2009-08-02 23:19:31 +0200
committerMichael Brown2009-08-02 23:44:57 +0200
commit5552a1b202a6fa09395a749611923b12183a6e98 (patch)
treee52d3da2ea04714594f53a19c4f2e38db7190d46 /src/include/string.h
parent[build] Allow safe concurrent builds of .iso, .liso and .sdsk targets (diff)
downloadipxe-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