iputils-20100418-convtoint.patch 980 B

12345678910111213141516171819202122232425
  1. diff -up iputils-s20100418/tracepath6.c.convtoint iputils-s20100418/tracepath6.c
  2. --- iputils-s20100418/tracepath6.c.convtoint 2010-04-23 11:28:15.294593391 +0200
  3. +++ iputils-s20100418/tracepath6.c 2010-04-23 11:28:23.544605551 +0200
  4. @@ -89,7 +89,7 @@ void print_host(const char *a, const cha
  5. }
  6. if (plen >= HOST_COLUMN_SIZE)
  7. plen = HOST_COLUMN_SIZE - 1;
  8. - printf("%*s", HOST_COLUMN_SIZE - plen, "");
  9. + printf("%*s", HOST_COLUMN_SIZE - (int)plen, "");
  10. }
  11. int recverr(int fd, int ttl)
  12. diff -up iputils-s20100418/tracepath.c.convtoint iputils-s20100418/tracepath.c
  13. --- iputils-s20100418/tracepath.c.convtoint 2010-04-23 11:26:20.273555629 +0200
  14. +++ iputils-s20100418/tracepath.c 2010-04-23 11:26:20.281562493 +0200
  15. @@ -77,7 +77,7 @@ void print_host(const char *a, const cha
  16. }
  17. if (plen >= HOST_COLUMN_SIZE)
  18. plen = HOST_COLUMN_SIZE - 1;
  19. - printf("%*s", HOST_COLUMN_SIZE - plen, "");
  20. + printf("%*s", HOST_COLUMN_SIZE - (int)plen, "");
  21. }
  22. int recverr(int fd, int ttl)