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
bb88da7f
Commit
bb88da7f
authored
Jun 03, 2011
by
unknown
Committed by
Romain Geissler
Jun 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sha1Lookup: Fixed two MSVC compilation warnings.
parent
04fdc10d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/fileops.h
+3
-3
src/sha1_lookup.c
+2
-2
No files found.
src/fileops.h
View file @
bb88da7f
...
...
@@ -14,10 +14,10 @@
#define GIT_PATH_LIST_SEPARATOR ':'
#ifdef GIT__WIN32
#define GIT_PLATFORM_PATH_SEP '/'
#else
#ifdef GIT_WIN32
#define GIT_PLATFORM_PATH_SEP '\\'
#else
#define GIT_PLATFORM_PATH_SEP '/'
#endif
#ifdef GIT_WIN32
...
...
src/sha1_lookup.c
View file @
bb88da7f
...
...
@@ -97,7 +97,7 @@ int sha1_entry_pos(const void *table,
unsigned
lo
,
unsigned
hi
,
unsigned
nr
,
const
unsigned
char
*
key
)
{
const
unsigned
char
*
base
=
table
;
const
unsigned
char
*
base
=
(
const
unsigned
char
*
)
table
;
const
unsigned
char
*
hi_key
,
*
lo_key
;
unsigned
ofs_0
;
...
...
@@ -192,5 +192,5 @@ int sha1_entry_pos(const void *table,
lo_key
=
mi_key
+
elem_size
;
}
}
while
(
lo
<
hi
);
return
-
lo
-
1
;
return
-
((
int
)
lo
)
-
1
;
}
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