mirror of https://github.com/python/cpython
bpo-40915: Avoid compiler warnings by fixing mmapmodule conversion from LARGE_INTEGER to Py_ssize_t (GH-30175)
This commit is contained in:
parent
6ada013df1
commit
6214caafbe
|
@ -536,7 +536,8 @@ mmap_resize_method(mmap_object *self,
|
|||
!SetEndOfFile(self->file_handle)) {
|
||||
/* resizing failed. try to remap the file */
|
||||
file_resize_error = GetLastError();
|
||||
new_size = max_size.QuadPart = self->size;
|
||||
max_size.QuadPart = self->size;
|
||||
new_size = self->size;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue