[pypy-svn] r73706 - pypy/branch/cpython-extension/pypy/translator/c/src
fijal at codespeak.net
fijal at codespeak.net
Tue Apr 13 04:29:58 CEST 2010
Author: fijal
Date: Tue Apr 13 04:29:57 2010
New Revision: 73706
Modified:
pypy/branch/cpython-extension/pypy/translator/c/src/obmalloc.c
Log:
oops, missing cast
Modified: pypy/branch/cpython-extension/pypy/translator/c/src/obmalloc.c
==============================================================================
--- pypy/branch/cpython-extension/pypy/translator/c/src/obmalloc.c (original)
+++ pypy/branch/cpython-extension/pypy/translator/c/src/obmalloc.c Tue Apr 13 04:29:57 2010
@@ -439,7 +439,7 @@
arenabase = bp;
nfreepools = ARENA_SIZE / POOL_SIZE;
assert(POOL_SIZE * nfreepools == ARENA_SIZE);
- excess = (uint) ((Py_uintptr_t)bp & POOL_SIZE_MASK);
+ excess = (uint) ((uint)bp & POOL_SIZE_MASK);
if (excess != 0) {
--nfreepools;
arenabase += POOL_SIZE - excess;
More information about the Pypy-commit
mailing list