From 160fb4929496d00c3190be9e2c01bc16062cabf0 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Tue, 1 Mar 2016 12:18:14 +0100 Subject: [PATCH] Fix prototype of subst() Commit e1b93f5 changed the signature of this function, but not the prototype. --- src/daemon/utils_subst.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/utils_subst.h b/src/daemon/utils_subst.h index 9085286a..50df9c7b 100644 --- a/src/daemon/utils_subst.h +++ b/src/daemon/utils_subst.h @@ -66,7 +66,7 @@ * * The function returns 'buf' on success, NULL else. */ -char *subst (char *buf, size_t buflen, const char *string, int off1, int off2, +char *subst (char *buf, size_t buflen, const char *string, size_t off1, size_t off2, const char *replacement); /* -- 2.30.2