summaryrefslogtreecommitdiff
path: root/lib/libcurses/trace_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcurses/trace_buf.c')
-rw-r--r--lib/libcurses/trace_buf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/trace_buf.c b/lib/libcurses/trace_buf.c
index bc15ceee441..a096fc7a9f8 100644
--- a/lib/libcurses/trace_buf.c
+++ b/lib/libcurses/trace_buf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trace_buf.c,v 1.3 1998/08/14 21:11:44 millert Exp $ */
+/* $OpenBSD: trace_buf.c,v 1.4 1998/08/15 18:44:46 millert Exp $ */
/****************************************************************************
* Copyright (c) 1998 Free Software Foundation, Inc. *
@@ -79,7 +79,7 @@ char * _nc_trace_buf(int bufnum, size_t want)
}
else if (want > list[bufnum].size)
{
- char *p = realloc(list[bufnum].text, want);
+ void *p = realloc(list[bufnum].text, want);
if (p != 0) {
list[bufnum].text = p;