Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
5ca5dad4
Commit
5ca5dad4
authored
7 years ago
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing cast.
parent
55d5d340
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Cython/Utility/Builtins.c
Cython/Utility/Builtins.c
+1
-1
No files found.
Cython/Utility/Builtins.c
View file @
5ca5dad4
...
@@ -247,7 +247,7 @@ static CYTHON_INLINE PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) {
...
@@ -247,7 +247,7 @@ static CYTHON_INLINE PY_LONG_LONG __Pyx_abs_longlong(PY_LONG_LONG x) {
return
(
unsigned
PY_LONG_LONG
)
__builtin_llabs
(
x
);
return
(
unsigned
PY_LONG_LONG
)
__builtin_llabs
(
x
);
#else
#else
if
(
sizeof
(
PY_LONG_LONG
)
<=
sizeof
(
Py_ssize_t
))
if
(
sizeof
(
PY_LONG_LONG
)
<=
sizeof
(
Py_ssize_t
))
return
__Pyx_sst_abs
(
x
);
return
(
unsigned
PY_LONG_LONG
)
__Pyx_sst_abs
(
x
);
return
(
x
<
0
)
?
(
unsigned
PY_LONG_LONG
)
-
x
:
(
unsigned
PY_LONG_LONG
)
x
;
return
(
x
<
0
)
?
(
unsigned
PY_LONG_LONG
)
-
x
:
(
unsigned
PY_LONG_LONG
)
x
;
#endif
#endif
}
}
...
...
This diff is collapsed.
Click to expand it.
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