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
c92987d1
Commit
c92987d1
authored
Feb 20, 2015
by
Jeff Hostetler
Committed by
nulltoken
Feb 20, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MAX 32 bit build problem described in libgit2/libgit2#2917
parent
5091aff7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
src/integer.h
+1
-1
No files found.
src/integer.h
View file @
c92987d1
...
@@ -58,7 +58,7 @@ GIT_INLINE(bool) git__add_uint64_overflow(uint64_t *out, uint64_t one, uint64_t
...
@@ -58,7 +58,7 @@ GIT_INLINE(bool) git__add_uint64_overflow(uint64_t *out, uint64_t one, uint64_t
#if (SIZE_MAX == UINT_MAX) && __has_builtin(__builtin_uadd_overflow)
#if (SIZE_MAX == UINT_MAX) && __has_builtin(__builtin_uadd_overflow)
# define git__add_sizet_overflow(out, one, two) \
# define git__add_sizet_overflow(out, one, two) \
__builtin_uadd_overflow(one, two, out)
__builtin_uadd_overflow(one, two, out)
# define git__multiply_sizet_overflow(out, one, two)
# define git__multiply_sizet_overflow(out, one, two)
\
__builtin_umul_overflow(one, two, out)
__builtin_umul_overflow(one, two, out)
#elif (SIZE_MAX == ULONG_MAX) && __has_builtin(__builtin_uaddl_overflow)
#elif (SIZE_MAX == ULONG_MAX) && __has_builtin(__builtin_uaddl_overflow)
# define git__add_sizet_overflow(out, one, two) \
# define git__add_sizet_overflow(out, one, two) \
...
...
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