diff options
-rw-r--r-- | libgloss/ChangeLog | 4 | ||||
-rw-r--r-- | libgloss/m68hc11/syscalls.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 45a6636..9aeb478 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2002-10-18 Stephane Carrez <stcarrez@nerim.fr> + + * m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter. + 2002-10-07 Richard Sandiford <rsandifo@redhat.com> * mips/ddb.ld: KEEP .init and .fini. diff --git a/libgloss/m68hc11/syscalls.c b/libgloss/m68hc11/syscalls.c index 071583d..9620146 100644 --- a/libgloss/m68hc11/syscalls.c +++ b/libgloss/m68hc11/syscalls.c @@ -49,7 +49,7 @@ write(int file, const void *p, size_t len) } void * -sbrk(size_t incr) +sbrk(ptrdiff_t incr) { extern char _end; /* Defined by the linker */ static char *heap_end; |