From 2ed0e93ccc77c8440012ed146b570eb64268b495 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Fri, 18 Oct 2002 20:54:37 +0000 Subject: [PATCH] 2002-10-18 Stephane Carrez * m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter. --- libgloss/ChangeLog | 4 ++++ libgloss/m68hc11/syscalls.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog index 45a6636fd..9aeb47863 100644 --- a/libgloss/ChangeLog +++ b/libgloss/ChangeLog @@ -1,3 +1,7 @@ +2002-10-18 Stephane Carrez + + * m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter. + 2002-10-07 Richard Sandiford * mips/ddb.ld: KEEP .init and .fini. diff --git a/libgloss/m68hc11/syscalls.c b/libgloss/m68hc11/syscalls.c index 071583d9c..9620146d7 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;