summaryrefslogtreecommitdiff
path: root/source3/client/clitar.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/client/clitar.c')
-rw-r--r--source3/client/clitar.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/client/clitar.c b/source3/client/clitar.c
index 412af8fa83..b06b5b2d37 100644
--- a/source3/client/clitar.c
+++ b/source3/client/clitar.c
@@ -307,7 +307,7 @@ static long readtarheader(union hblock *hb, file_info2 *finfo, char *prefix)
}
fprintf(stdout, "\n");
fprintf(stdout, "%s\n", hb -> dummy);
- fprintf(stdout, "Tarbuf = %X, hb = %X\n", tarbuf, hb);
+ fprintf(stdout, "Tarbuf = %X, hb = %X\n", (int)tarbuf, (int)hb);
return -1;
}
@@ -2309,7 +2309,6 @@ static int read_inclusion_file(char *filename)
char *p;
char *tmpstr;
int i;
- int result = 0;
int error = 0;
clipn = 0;
@@ -2388,10 +2387,10 @@ static int read_inclusion_file(char *filename)
}
if (error) {
if (cliplist) {
- char **p;
+ char **pp;
/* We know cliplist is always null-terminated */
- for (p = cliplist; *p; ++p) {
- free(*p);
+ for (pp = cliplist; *pp; ++pp) {
+ free(*pp);
}
free(cliplist);
cliplist = NULL;