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
013024ef
Commit
013024ef
authored
Mar 16, 2016
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error of traceback.c on Windows
Issue #26564.
parent
32f2eb49
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Python/traceback.c
Python/traceback.c
+3
-3
No files found.
Python/traceback.c
View file @
013024ef
...
...
@@ -509,13 +509,13 @@ _Py_DumpDecimal(int fd, unsigned long value)
static
void
dump_hexadecimal
(
int
fd
,
unsigned
long
value
,
Py_ssize_t
width
)
{
Py_ssize_t
size
=
sizeof
(
unsigned
long
)
*
2
;
c
har
buffer
[
size
+
1
],
*
ptr
,
*
end
;
char
buffer
[
sizeof
(
unsigned
long
)
*
2
+
1
],
*
ptr
,
*
end
;
c
onst
Py_ssize_t
size
=
Py_ARRAY_LENGTH
(
buffer
)
-
1
;
if
(
width
>
size
)
width
=
size
;
end
=
&
buffer
[
Py_ARRAY_LENGTH
(
buffer
)
-
1
];
end
=
&
buffer
[
size
];
ptr
=
end
;
*
ptr
=
'\0'
;
do
{
...
...
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