patch-src_support_c 848 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_support_c,v 1.1.1.1 2005/01/25 23:32:22 fgsch Exp $
  2. --- src/support.c.orig Sat Jan 22 21:52:35 2005
  3. +++ src/support.c Sat Jan 22 21:53:14 2005
  4. @@ -38,7 +38,7 @@ yencode_and_write_buffer(FILE *out, cons
  5. register int linect = 0;
  6. register unsigned char c;
  7. - fprintf(out, "=ybegin line=%d size=%u name=%s\r\n", opt_line_length, buflen, filename);
  8. + fprintf(out, "=ybegin line=%d size=%zu name=%s\r\n", opt_line_length, buflen, filename);
  9. CRC_START(crc);
  10. for (ct = 0; ct < buflen; ct++)
  11. {
  12. @@ -66,7 +66,7 @@ yencode_and_write_buffer(FILE *out, cons
  13. fputc('\n', out);
  14. }
  15. CRC_FINISH(crc);
  16. - fprintf(out, "=yend size=%u crc32=%08x\r\n", buflen, crc);
  17. + fprintf(out, "=yend size=%zu crc32=%08x\r\n", buflen, crc);
  18. }
  19. /*--- yencode_and_write_buffer() ----------------------------------------------------------------*/