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
79697736
Commit
79697736
authored
Jun 05, 2013
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #9566: Fix compiler warning on Windows 64-bit
parent
5a436760
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Parser/tokenizer.c
Parser/tokenizer.c
+2
-1
No files found.
Parser/tokenizer.c
View file @
79697736
...
...
@@ -660,7 +660,8 @@ translate_into_utf8(const char* str, const char* enc) {
static
char
*
translate_newlines
(
const
char
*
s
,
int
exec_input
,
struct
tok_state
*
tok
)
{
int
skip_next_lf
=
0
,
needed_length
=
strlen
(
s
)
+
2
,
final_length
;
int
skip_next_lf
=
0
;
size_t
needed_length
=
strlen
(
s
)
+
2
,
final_length
;
char
*
buf
,
*
current
;
char
c
=
'\0'
;
buf
=
PyMem_MALLOC
(
needed_length
);
...
...
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