From a7bc22ca009cfd2d3e4e977d19599f6a3fb5096e Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 20 Dec 2010 10:28:43 +0000 Subject: Paul 28538 / me 28540 / couple of unposted casts: use char * for pointer arithmetic rather than void * --- Src/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/input.c') diff --git a/Src/input.c b/Src/input.c index 0e802da62..5cff22da4 100644 --- a/Src/input.c +++ b/Src/input.c @@ -260,7 +260,7 @@ inputline(void) int pptlen; pptbuf = unmetafy(promptexpand(ingetcpmptl ? *ingetcpmptl : NULL, 0, NULL, NULL, NULL), &pptlen); - write_loop(2, (WRITE_ARG_2_T)pptbuf, pptlen); + write_loop(2, pptbuf, pptlen); free(pptbuf); } ingetcline = shingetline(); -- cgit v1.2.3