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
(from parent 1:
d01350a
)
Got rid of signed/unsigned-comparison warning if st_rdev is signed.
author
Wayne Davison
<wayned@samba.org>
Thu, 21 Aug 2003 23:46:10 +0000
(23:46 +0000)
committer
Wayne Davison
<wayned@samba.org>
Thu, 21 Aug 2003 23:46:10 +0000
(23:46 +0000)
generator.c
patch
|
blob
|
blame
|
history
diff --git
a/generator.c
b/generator.c
index
812fef4
..
f2e7c71
100644
(file)
--- a/
generator.c
+++ b/
generator.c
@@
-383,7
+383,7
@@
void recv_generator(char *fname, struct file_list *flist, int i, int f_out)
if (am_root && preserve_devices && IS_DEVICE(file->mode)) {
if (statret != 0 ||
st.st_mode != file->mode ||
- st.st_rdev != file->rdev) {
+
(DEV64_T)
st.st_rdev != file->rdev) {
delete_file(fname);
if (verbose > 2)
rprintf(FINFO,"mknod(%s,0%o,0x%x)\n",