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
86b9dbc1
Commit
86b9dbc1
authored
Nov 17, 2012
by
nulltoken
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MSVC compilation warnings
parent
e087973e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/pack-objects.h
+5
-5
tests-clar/object/raw/short.c
+1
-1
No files found.
src/pack-objects.h
View file @
86b9dbc1
...
@@ -71,11 +71,11 @@ struct git_packbuilder {
...
@@ -71,11 +71,11 @@ struct git_packbuilder {
git_cond
progress_cond
;
git_cond
progress_cond
;
/* configs */
/* configs */
u
nsigned
long
delta_cache_size
;
u
int64_t
delta_cache_size
;
u
nsigned
long
max_delta_cache_size
;
u
int64_t
max_delta_cache_size
;
u
nsigned
long
cache_max_small_delta_size
;
u
int64_t
cache_max_small_delta_size
;
u
nsigned
long
big_file_threshold
;
u
int64_t
big_file_threshold
;
u
nsigned
long
window_memory_limit
;
u
int64_t
window_memory_limit
;
int
nr_threads
;
/* nr of threads to use */
int
nr_threads
;
/* nr of threads to use */
...
...
tests-clar/object/raw/short.c
View file @
86b9dbc1
...
@@ -43,7 +43,7 @@ void test_object_raw_short__oid_shortener_stresstest_git_oid_shorten(void)
...
@@ -43,7 +43,7 @@ void test_object_raw_short__oid_shortener_stresstest_git_oid_shorten(void)
for
(
i
=
0
;
i
<
MAX_OIDS
;
++
i
)
{
for
(
i
=
0
;
i
<
MAX_OIDS
;
++
i
)
{
char
*
oid_text
;
char
*
oid_text
;
sprintf
(
number_buffer
,
"%u"
,
(
unsigned
int
)
i
);
p_snprintf
(
number_buffer
,
16
,
"%u"
,
(
unsigned
int
)
i
);
git_hash_buf
(
&
oid
,
number_buffer
,
strlen
(
number_buffer
));
git_hash_buf
(
&
oid
,
number_buffer
,
strlen
(
number_buffer
));
oid_text
=
git__malloc
(
GIT_OID_HEXSZ
+
1
);
oid_text
=
git__malloc
(
GIT_OID_HEXSZ
+
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