summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@localhost>2011-05-21 00:42:08 +0000
committercinap_lenrek <cinap_lenrek@localhost>2011-05-21 00:42:08 +0000
commite7d3e20912baa82965108997013710223152772c (patch)
tree02d4ed8e367319884582025cb1da2f4c45a05190 /sys/src/cmd/python/Python
parent9adf75a7091c7bd2afefbeba62a2525d50df4404 (diff)
remove keyboard stuff from other ports, make openssl and python compile on arm
Diffstat (limited to 'sys/src/cmd/python/Python')
-rw-r--r--sys/src/cmd/python/Python/marshal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/src/cmd/python/Python/marshal.c b/sys/src/cmd/python/Python/marshal.c
index 776836e55..7940ce18a 100644
--- a/sys/src/cmd/python/Python/marshal.c
+++ b/sys/src/cmd/python/Python/marshal.c
@@ -971,7 +971,7 @@ PyMarshal_ReadLastObjectFromFile(FILE *fp)
if (filesize <= SMALL_FILE_LIMIT)
pBuf = buf;
else if (filesize <= REASONABLE_FILE_LIMIT)
- pBuf = (char *)PyMem_MALLOC(filesize);
+ pBuf = (char *)PyMem_MALLOC((int)filesize);
if (pBuf != NULL) {
PyObject* v;
size_t n;