michael@612: Index: lib/rtapelib.c michael@612: --- lib/rtapelib.c.orig 2009-03-19 12:47:19 +0100 michael@612: +++ lib/rtapelib.c 2009-06-20 17:36:22 +0200 michael@612: @@ -628,7 +628,7 @@ michael@612: { michael@612: char command_buffer[COMMAND_BUFFER_SIZE]; michael@612: char operand_buffer[UINTMAX_STRSIZE_BOUND]; michael@612: - uintmax_t u = offset < 0 ? - (uintmax_t) offset : (uintmax_t) offset; michael@612: + unsigned long u = offset < 0 ? - (unsigned long) offset : (unsigned long) offset; michael@612: char *p = operand_buffer + sizeof operand_buffer; michael@612: michael@612: *--p = 0; michael@612: @@ -670,9 +670,9 @@ michael@612: { michael@612: char command_buffer[COMMAND_BUFFER_SIZE]; michael@612: char operand_buffer[UINTMAX_STRSIZE_BOUND]; michael@612: - uintmax_t u = (((struct mtop *) argument)->mt_count < 0 michael@612: - ? - (uintmax_t) ((struct mtop *) argument)->mt_count michael@612: - : (uintmax_t) ((struct mtop *) argument)->mt_count); michael@612: + unsigned long u = (((struct mtop *) argument)->mt_count < 0 michael@612: + ? - (unsigned long) ((struct mtop *) argument)->mt_count michael@612: + : (unsigned long) ((struct mtop *) argument)->mt_count); michael@612: char *p = operand_buffer + sizeof operand_buffer; michael@612: michael@612: *--p = 0; michael@612: Index: lib/system.h michael@612: --- lib/system.h.orig 2009-06-20 10:29:22 +0200 michael@612: +++ lib/system.h 2009-06-20 17:36:22 +0200 michael@612: @@ -425,7 +425,7 @@ michael@612: michael@612: #include michael@612: michael@612: -#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (uintmax_t) michael@612: +#define UINTMAX_STRSIZE_BOUND INT_BUFSIZE_BOUND (unsigned long) michael@612: michael@612: /* Prototypes for external functions. */ michael@612: michael@612: Index: src/userspec.c michael@612: --- src/userspec.c.orig 2009-02-14 19:15:50 +0100 michael@612: +++ src/userspec.c 2009-06-20 17:41:54 +0200 michael@612: @@ -20,7 +20,6 @@ michael@612: /* Written by David MacKenzie . */ michael@612: michael@612: #include michael@612: -#include michael@612: #include michael@612: #include michael@612: #include