Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-10-19 00:54:37 +0400
committerJeff Johnston <jjohnstn@redhat.com>2002-10-19 00:54:37 +0400
commit2ed0e93ccc77c8440012ed146b570eb64268b495 (patch)
tree0edf97d9b14dd2fa8118e1307ad442766a05b3d9
parentc9ccb1f20ed77c17a87a1ee837294c17087281a9 (diff)
2002-10-18 Stephane Carrez <stcarrez@nerim.fr>
* m68hc11/syscalls.c (sbrk): Use ptrdiff_t for increment parameter.
-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 45a6636fd..9aeb47863 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 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;