diff options
author | nicm <nicm> | 2023-06-30 21:55:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-06-30 21:55:08 +0000 |
commit | a2a02fd7d75a9d866570261fd428fefa773a6bf8 (patch) | |
tree | 7f07014546696a14430b0f96013983ee6aa341d0 /regsub.c | |
parent | 4e57894e8506f27844fc0e6353475a0b61fd7807 (diff) |
Change a few types to fix warnings, from Thomas Klausner.
Diffstat (limited to 'regsub.c')
-rw-r--r-- | regsub.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |