about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--lib/libpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libpm.c b/lib/libpm.c
index 9b1ff679..88396d3f 100644
--- a/lib/libpm.c
+++ b/lib/libpm.c
@@ -218,7 +218,7 @@ pm_error(const char format[], ...) {
 
 /* Variable-sized arrays. */
 
-char *
+void *
 pm_allocrow(unsigned int const cols,
             unsigned int const size) {
 
@@ -238,7 +238,7 @@ pm_allocrow(unsigned int const cols,
 
 
 void
-pm_freerow(char * const itrow) {
+pm_freerow(void * const itrow) {
     free(itrow);
 }