git.samba.org
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make gcc die on init overflow of an array.
[rsync.git]
/
generator.c
diff --git
a/generator.c
b/generator.c
index 20599d83d3c3b86140a75d15a890e75935e1783a..a890bdc3c5b7e9577289d9837deffe1055f1f7d4 100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-182,7
+182,8
@@
static int remember_delete(struct file_struct *file, const char *fname, int flag
static int read_delay_line(char *buf, int *flags_p)
{
static int read_pos = 0;
- int j, len, mode;
+ unsigned int mode;
+ int j, len;
char *bp, *past_space;
while (1) {