summaryrefslogtreecommitdiffstats
path: root/regsub.c
diff options
context:
space:
mode:
Diffstat (limited to 'regsub.c')
-rw-r--r--regsub.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regsub.c b/regsub.c
index 4039b9b..61a9c32 100644
--- a/regsub.c
+++ b/regsub.c
@@ -24,7 +24,7 @@
#include "tmux.h"
static void
-regsub_copy(char **buf, size_t *len, const char *text, size_t start, size_t end)
+regsub_copy(char **buf, ssize_t *len, const char *text, size_t start, size_t end)
{
size_t add = end - start;
@@ -34,7 +34,7 @@ regsub_copy(char **buf, size_t *len, const char *text, size_t start, size_t end)
}
static void
-regsub_expand(char **buf, size_t *len, const char *with, const char *text,
+regsub_expand(char **buf, ssize_t *len, const char *with, const char *text,
regmatch_t *m, u_int n)
{
const char *cp;