chiark / gitweb /
*.pyx, defs.pxi, *.c: Fixes for 64-bit builds.
[mLib-python] / atom-base.c
index e1e38f9b3877ae98b41764837e925e449d013286..f57eaee2792b731d1dd07153ffc1f3fe4ddced5b 100644 (file)
@@ -1,6 +1,4 @@
 /* -*-c-*-
- *
- * $Id$
  *
  * Atom stuff
  *
@@ -68,7 +66,7 @@ PyObject *atom_pyintern(PyObject *x)
 {
   atom *a;
   const void *p;
-  int n;
+  Py_ssize_t n;
 
   if (ATOM_PYCHECK(x))
     RETURN_OBJ(x);
@@ -133,7 +131,7 @@ static PyObject *atom_pyrepr(PyObject *me)
   PyObject *s, *sr = 0;
   PyObject *rc = 0;
   char *p;
-  int n;
+  Py_ssize_t n;
   dstr d = DSTR_INIT;
 
   if ((s = aget_name(me, 0)) == 0 ||