summaryrefslogtreecommitdiff
path: root/devel/c4/patches/patch-ab
blob: 3bc3b6b1f257507f6eb22cdc14bfcb5d2d796020 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ab,v 1.1 2002/11/22 20:54:36 schmonz Exp $

--- main.c.orig	Fri Feb 11 03:11:52 2000
+++ main.c
@@ -62,7 +62,7 @@ void *
 Alloc(unsigned int sz)
 {
 	void *		p;
-	extern void *	malloc(unsigned int);
+	extern void *	malloc(size_t);
 
 	p = malloc(sz);
 	if (!p)
@@ -75,7 +75,7 @@ void *
 ReAlloc(void * xp, unsigned int sz)
 {
 	void *		p;
-	extern void *	realloc(void *, unsigned int);
+	extern void *	realloc(void *, size_t);
 
 	p = realloc(xp, sz);
 	if (!p)