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>tags/v0.9.8
|
|
||
| 399 |
|
399 |
|
| 400 |
|
400 |
|
| 401 |
|
401 |
|
| 402 |
|
|
|
| 403 |
|
|
|
| 404 |
|
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
|
| 405 |
|
405 |
|
| 406 |
|
406 |
|
| 407 |
|
407 |
|
|
|
||
| 490 |
|
490 |
|
| 491 |
|
491 |
|
| 492 |
|
492 |
|
| 493 |
|
|
|
|
493 |
|
|
| 494 |
|
494 |
|
| 495 |
|
495 |
|
| 496 |
|
496 |
|
|
|
||
| 671 |
|
671 |
|
| 672 |
|
672 |
|
| 673 |
|
673 |
|
| 674 |
|
|
|
|
674 |
|
|
| 675 |
|
675 |
|
| 676 |
|
676 |
|
| 677 |
|
677 |
|
|
|
||
| 722 |
|
722 |
|
| 723 |
|
723 |
|
| 724 |
|
724 |
|
| 725 |
|
|
|
|
725 |
|
|
| 726 |
|
726 |
|
| 727 |
|
727 |
|
| 728 |
|
728 |
|
| 729 |
|
729 |
|
| 730 |
|
730 |
|
| 731 |
|
|
|
|
731 |
|
|
| 732 |
|
732 |
|
| 733 |
|
733 |
|
| 734 |
|
734 |
|
|
|
||
| 795 |
|
795 |
|
| 796 |
|
796 |
|
| 797 |
|
797 |
|
| 798 |
|
|
|
| 799 |
|
|
|
|
798 |
|
|
|
799 |
|
|
| 800 |
|
800 |
|
| 801 |
|
801 |
|
| 802 |
|
802 |
|