tags 476158 + patch thanks Patch attached.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad synopsis-0.8.0.orig/src/Synopsis/Python/Object.hh
synopsis-0.8.0/src/Synopsis/Python/Object.hh
--- synopsis-0.8.0.orig/src/Synopsis/Python/Object.hh 2008-04-17
04:58:46.000000000 +0100
+++ synopsis-0.8.0/src/Synopsis/Python/Object.hh 2008-04-17
05:00:02.000000000 +0100
@@ -276,7 +276,7 @@
void incr();
Dict my_dict;
- int my_pos;
+ Py_ssize_t my_pos;
Tuple my_current;
};
@@ -382,7 +382,7 @@
if (!PyString_Check(o.my_impl) || PyString_GET_SIZE(o.my_impl) != 1)
throw TypeError("object not a character");
char *value;
- int length;
+ Py_ssize_t length;
PyString_AsStringAndSize(o.my_impl, &value, &length);
return value[0];
}
signature.asc
Description: PGP signature

