Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
80a1cba2
Commit
80a1cba2
authored
Sep 27, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Plain Diff
Issue #20947: Fixed a gcc warning with -Wstrict-overflow.
parents
5fcf0cd4
f8e3ae7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Modules/_posixsubprocess.c
Modules/_posixsubprocess.c
+1
-1
No files found.
Modules/_posixsubprocess.c
View file @
80a1cba2
...
@@ -521,7 +521,7 @@ error:
...
@@ -521,7 +521,7 @@ error:
char
*
cur
;
char
*
cur
;
_Py_write_noraise
(
errpipe_write
,
"OSError:"
,
8
);
_Py_write_noraise
(
errpipe_write
,
"OSError:"
,
8
);
cur
=
hex_errno
+
sizeof
(
hex_errno
);
cur
=
hex_errno
+
sizeof
(
hex_errno
);
while
(
saved_errno
!=
0
&&
cur
>
hex_errno
)
{
while
(
saved_errno
!=
0
&&
cur
!=
hex_errno
)
{
*--
cur
=
Py_hexdigits
[
saved_errno
%
16
];
*--
cur
=
Py_hexdigits
[
saved_errno
%
16
];
saved_errno
/=
16
;
saved_errno
/=
16
;
}
}
...
...
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