summaryrefslogtreecommitdiff
path: root/libcap/_makenames.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcap/_makenames.c')
-rw-r--r--libcap/_makenames.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/_makenames.c b/libcap/_makenames.c
index c0d6db4..30eb080 100644
--- a/libcap/_makenames.c
+++ b/libcap/_makenames.c
@@ -26,7 +26,7 @@ struct {
* indicated extended empty space.
*/
static void *recalloc(void *p, int was, int is) {
- void *n = realloc(p, is);
+ char *n = realloc(p, is);
if (!n) {
fputs("out of memory", stderr);
exit(1);