Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
c8893d1f
Commit
c8893d1f
authored
Feb 24, 2014
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use a portable cast
parent
b1f2c2e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diff_tform.c
+2
-2
No files found.
src/diff_tform.c
View file @
c8893d1f
...
...
@@ -218,7 +218,7 @@ int git_diff_merge(git_diff *onto, const git_diff *from)
int
git_diff_find_similar__hashsig_for_file
(
void
**
out
,
const
git_diff_file
*
f
,
const
char
*
path
,
void
*
p
)
{
git_hashsig_option_t
opt
=
(
git_hashsig_option_t
)(
long
long
)
p
;
git_hashsig_option_t
opt
=
(
git_hashsig_option_t
)(
intptr_t
)
p
;
int
error
=
0
;
GIT_UNUSED
(
f
);
...
...
@@ -235,7 +235,7 @@ int git_diff_find_similar__hashsig_for_file(
int
git_diff_find_similar__hashsig_for_buf
(
void
**
out
,
const
git_diff_file
*
f
,
const
char
*
buf
,
size_t
len
,
void
*
p
)
{
git_hashsig_option_t
opt
=
(
git_hashsig_option_t
)(
long
long
)
p
;
git_hashsig_option_t
opt
=
(
git_hashsig_option_t
)(
intptr_t
)
p
;
int
error
=
0
;
GIT_UNUSED
(
f
);
...
...
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