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
39185d62
Commit
39185d62
authored
Nov 09, 2002
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BZ2Decomp_decompress(): Fixed more long vs LONG_LONG confusions.
parent
2858e5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Modules/bz2module.c
Modules/bz2module.c
+2
-2
No files found.
Modules/bz2module.c
View file @
39185d62
...
...
@@ -1709,7 +1709,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args)
char
*
data
;
int
datasize
;
int
bufsize
=
SMALLCHUNK
;
long
totalout
;
LONG_LONG
totalout
;
PyObject
*
ret
=
NULL
;
bz_stream
*
bzs
=
&
self
->
bzs
;
int
bzerror
;
...
...
@@ -1769,7 +1769,7 @@ BZ2Decomp_decompress(BZ2DecompObject *self, PyObject *args)
}
if
(
bzs
->
avail_out
!=
0
)
_PyString_Resize
(
&
ret
,
BZS_TOTAL_OUT
(
bzs
)
-
totalout
);
_PyString_Resize
(
&
ret
,
(
int
)(
BZS_TOTAL_OUT
(
bzs
)
-
totalout
)
);
RELEASE_LOCK
(
self
);
return
ret
;
...
...
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