Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Signedness security patch from Sebastian Krahmer <krahmer@suse.de> --
[rsync/rsync.git]
/
rsync.h
diff --git
a/rsync.h
b/rsync.h
index
d18540f
..
9565ed7
100644
(file)
--- a/
rsync.h
+++ b/
rsync.h
@@
-374,9
+374,9
@@
struct sum_buf {
struct sum_struct {
OFF_T flength; /* total file length */
struct sum_struct {
OFF_T flength; /* total file length */
-
int count;
/* how many chunks */
-
int remainder;
/* flength % block_length */
-
int n;
/* block_length */
+
size_t count;
/* how many chunks */
+
size_t remainder;
/* flength % block_length */
+
size_t n;
/* block_length */
struct sum_buf *sums; /* points to info for each chunk */
};
struct sum_buf *sums; /* points to info for each chunk */
};