summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-18 12:49:49 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-18 12:49:49 (GMT)
commit5bb8a155939865d213aca444c05cc6f355202232 (patch)
tree940d661253d7dd076326527339e8a308620da46c /Modules
parent151860752f9cc061019940e4ace6fd302c185e5b (diff)
downloadcpython-5bb8a155939865d213aca444c05cc6f355202232.zip
cpython-5bb8a155939865d213aca444c05cc6f355202232.tar.gz
cpython-5bb8a155939865d213aca444c05cc6f355202232.tar.bz2
Fix typo.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/mmapmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c
index ab75c28..66ce716 100644
--- a/Modules/mmapmodule.c
+++ b/Modules/mmapmodule.c
@@ -403,7 +403,7 @@ mmap_resize_method(mmap_object *self,
newSizeLow = (DWORD)(new_size & 0xFFFFFFFF);
#else
newSizeHigh = 0;
- newSizeLow = (DWORD)newSize;
+ newSizeLow = (DWORD)new_size;
#endif
SetFilePointer(self->file_handle,
newSizeLow, &newSizeHigh, FILE_BEGIN);