Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liblongpath-rsync
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liblongpath
liblongpath-rsync
Commits
424d3691
Commit
424d3691
authored
Jan 23, 2007
by
Wayne Davison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Paul's patch to silence some 64-bit compiler warnings.
parent
d0221f1d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
flist.c
flist.c
+4
-4
No files found.
flist.c
View file @
424d3691
...
...
@@ -418,9 +418,9 @@ static void send_file_entry(int f, struct file_struct *file, int ndx)
if
(
tmp_dev
!=
0
)
{
if
(
protocol_version
>=
30
)
{
struct
idev_node
*
np
=
idev_node
(
tmp_dev
,
tmp_ino
);
first_hlink_ndx
=
(
int32
)
np
->
data
-
1
;
first_hlink_ndx
=
(
int32
)
(
long
)
np
->
data
-
1
;
if
(
first_hlink_ndx
<
0
)
{
np
->
data
=
(
void
*
)(
ndx
+
1
);
np
->
data
=
(
void
*
)(
long
)(
ndx
+
1
);
flags
|=
XMIT_HLINK_FIRST
;
}
flags
|=
XMIT_HLINKED
;
...
...
@@ -828,10 +828,10 @@ static struct file_struct *recv_file_entry(struct file_list *flist,
ino
=
read_longint
(
f
);
}
np
=
idev_node
(
dev
,
ino
);
ndx
=
(
int32
)
np
->
data
-
1
;
ndx
=
(
int32
)
(
long
)
np
->
data
-
1
;
if
(
ndx
<
0
)
{
ndx
=
cnt
++
;
np
->
data
=
(
void
*
)
cnt
;
np
->
data
=
(
void
*
)
(
long
)
cnt
;
}
F_HL_GNUM
(
file
)
=
ndx
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment