]> granicus.if.org Git - python/commitdiff
Whitespace normalization
authorNeal Norwitz <nnorwitz@gmail.com>
Sun, 5 Feb 2006 03:36:57 +0000 (03:36 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sun, 5 Feb 2006 03:36:57 +0000 (03:36 +0000)
Modules/mmapmodule.c

index 1cd7d1709c8dbe878e1915187b354f43545ec463..b01f42f0346c8c9be8c917fb88fe724097a65d9c 100644 (file)
@@ -877,10 +877,10 @@ new_mmap_object(PyObject *self, PyObject *args, PyObject *kwdict)
                return NULL;
 
        if ((access != (int)ACCESS_DEFAULT) && 
-           ((flags != MAP_SHARED) || ( prot != (PROT_WRITE | PROT_READ))))
+           ((flags != MAP_SHARED) || (prot != (PROT_WRITE | PROT_READ))))
                return PyErr_Format(PyExc_ValueError, 
                                    "mmap can't specify both access and flags, prot.");
-       switch((access_mode)access) {
+       switch ((access_mode)access) {
        case ACCESS_READ:
                flags = MAP_SHARED;
                prot = PROT_READ;