patch-gimgch_c 534 B

12345678910111213141516
  1. $OpenBSD: patch-gimgch_c,v 1.1.1.1 2013/05/13 06:57:01 jasper Exp $
  2. Fix format string for off_t.
  3. --- gimgch.c.orig Sun Mar 10 22:24:39 2013
  4. +++ gimgch.c Sun Mar 10 22:24:46 2013
  5. @@ -47,7 +47,7 @@ static void display_headers (int line_columns)
  6. emptyid[strlen(headers[0]->id)] = '\0';
  7. for (i = 0; i < header_num; i ++) {
  8. - printf("%s %8x=foff %8x=flen %4x=hoff %4x=hlen %s %s\n",
  9. + printf("%s %8llx=foff %8x=flen %4x=hoff %4x=hlen %s %s\n",
  10. headers[i]->id,
  11. headers[i]->subfile_offset,
  12. headers[i]->subfile_size,