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
22e41557
Commit
22e41557
authored
Aug 15, 2010
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix other warnings under 64-bit Windows.
parent
47019e50
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
Modules/binascii.c
Modules/binascii.c
+1
-1
Modules/mmapmodule.c
Modules/mmapmodule.c
+1
-1
Modules/posixmodule.c
Modules/posixmodule.c
+5
-4
No files found.
Modules/binascii.c
View file @
22e41557
...
...
@@ -664,7 +664,7 @@ binascii_rlecode_hqx(PyObject *self, PyObject *args)
/* More than 3 in a row. Output RLE. */
*
out_data
++
=
ch
;
*
out_data
++
=
RUNCHAR
;
*
out_data
++
=
inend
-
in
;
*
out_data
++
=
(
unsigned
char
)
inend
-
in
;
in
=
inend
-
1
;
}
else
{
/* Less than 3. Output the byte itself */
...
...
Modules/mmapmodule.c
View file @
22e41557
...
...
@@ -878,7 +878,7 @@ mmap_ass_subscript(mmap_object *self, PyObject *item, PyObject *value)
"in range(0, 256)"
);
return
-
1
;
}
self
->
data
[
i
]
=
v
;
self
->
data
[
i
]
=
(
char
)
v
;
return
0
;
}
else
if
(
PySlice_Check
(
item
))
{
...
...
Modules/posixmodule.c
View file @
22e41557
...
...
@@ -385,7 +385,7 @@ _PyVerify_fd(int fd)
const
int
i1
=
fd
>>
IOINFO_L2E
;
const
int
i2
=
fd
&
((
1
<<
IOINFO_L2E
)
-
1
);
static
in
t
sizeof_ioinfo
=
0
;
static
size_
t
sizeof_ioinfo
=
0
;
/* Determine the actual size of the ioinfo structure,
* as used by the CRT loaded in memory
...
...
@@ -3655,8 +3655,8 @@ posix_spawnve(PyObject *self, PyObject *args)
char
**
argvlist
;
char
**
envlist
;
PyObject
*
res
=
NULL
;
int
mode
,
envc
;
Py_ssize_t
argc
,
i
;
int
mode
;
Py_ssize_t
argc
,
i
,
envc
;
Py_intptr_t
spawnval
;
PyObject
*
(
*
getitem
)(
PyObject
*
,
Py_ssize_t
);
Py_ssize_t
lastarg
=
0
;
...
...
@@ -3841,7 +3841,8 @@ posix_spawnvpe(PyObject *self, PyObject *args)
char
**
argvlist
;
char
**
envlist
;
PyObject
*
res
=
NULL
;
int
mode
,
i
,
argc
,
envc
;
int
mode
;
Py_ssize_t
argc
,
i
,
envc
;
Py_intptr_t
spawnval
;
PyObject
*
(
*
getitem
)(
PyObject
*
,
Py_ssize_t
);
int
lastarg
=
0
;
...
...
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