tMake argument type more specific - synk - synchronize files between hosts
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6db93742576edd6cd9b99fda1c85c492f8944acc
(DIR) parent ba4d659fcb168165b34f165dd480b8b7b2187f56
(HTM) Author: z3bra <contactatz3bradotorg>
Date: Tue, 6 Jun 2017 08:30:14 +0200
Make argument type more specific
Real reason is that gcc 6.x doesn't recognize "char * []" as a "complete
ttype", and I don't like warnings... Screw you, GNU!
Diffstat:
M synk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/synk.c b/synk.c
t@@ -99,7 +99,7 @@ concat(int n, ...)
va_start(args, n);
while (n --> 0) {
- p = va_arg(args, char * []);
+ p = va_arg(args, char **);
/* count args in the given array */
for (i=0; p[i]; ++i);