Got rid of a compiler warning (which was only output by certain
authorWayne Davison <wayned@samba.org>
Fri, 21 May 2004 09:59:49 +0000 (09:59 +0000)
committerWayne Davison <wayned@samba.org>
Fri, 21 May 2004 09:59:49 +0000 (09:59 +0000)
compilers).

exclude.c

index 49adcff..9a06395 100644 (file)
--- a/exclude.c
+++ b/exclude.c
@@ -311,7 +311,7 @@ void add_exclude(struct exclude_list_struct *listp, const char *pattern,
 
                if (verbose > 2) {
                        rprintf(FINFO, "[%s] add_exclude(%.*s, %s%sclude)\n",
-                               who_am_i(), pat_len, cp, listp->debug_type,
+                               who_am_i(), (int)pat_len, cp, listp->debug_type,
                                mflags & MATCHFLG_INCLUDE ? "in" : "ex");
                }
        }