Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b332e
)
long int fix from Nelson Beebe
author
Martin Pool
<mbp@samba.org>
Tue, 9 Apr 2002 04:49:23 +0000
(
04:49
+0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 9 Apr 2002 04:49:23 +0000
(
04:49
+0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
183138c
..
7a939af
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-190,9
+190,11
@@
static struct sum_struct *generate_sums(struct map_struct *buf, OFF_T len,
return s;
}
- if (verbose > 3)
- rprintf(FINFO, "count=%d rem=%d n=%d flength=%.0f\n",
- s->count, s->remainder, s->n, (double) s->flength);
+ if (verbose > 3) {
+ rprintf(FINFO, "count=%ld rem=%ld n=%ld flength=%.0f\n",
+ (long) s->count, (long) s->remainder,
+ (long) s->n, (double) s->flength);
+ }
s->sums = (struct sum_buf *) malloc(sizeof(s->sums[0]) * s->count);
if (!s->sums)