aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-10-18 20:54:37 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-10-18 20:54:37 +0000
commit2ed0e93ccc77c8440012ed146b570eb64268b495 (patch)
tree0edf97d9b14dd2fa8118e1307ad442766a05b3d9 /libgloss
parentc9ccb1f20ed77c17a87a1ee837294c17087281a9 (diff)
downloadnewlib-2ed0e93ccc77c8440012ed146b570eb64268b495.zip
newlib-2ed0e93ccc77c8440012ed146b570eb64268b495.tar.gz
newlib-2ed0e93ccc77c8440012ed146b570eb64268b495.tar.bz2
2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/m68hc11/syscalls.c2
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;