SOURCES: python-pycups-size_t.patch (NEW) fix for python 2.5

wiget wiget at pld-linux.org
Fri Jun 8 23:27:11 CEST 2007


Author: wiget                        Date: Fri Jun  8 21:27:11 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
fix for python 2.5

---- Files affected:
SOURCES:
   python-pycups-size_t.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/python-pycups-size_t.patch
diff -u /dev/null SOURCES/python-pycups-size_t.patch:1.1
--- /dev/null	Fri Jun  8 23:27:11 2007
+++ SOURCES/python-pycups-size_t.patch	Fri Jun  8 23:27:06 2007
@@ -0,0 +1,11 @@
+--- pycups-1.9.23/cupsconnection.c.wiget	2007-06-08 23:23:16.000000000 +0200
++++ pycups-1.9.23/cupsconnection.c	2007-06-08 23:25:08.000000000 +0200
+@@ -2070,7 +2070,7 @@ Connection_adminSetServerSettings (Conne
+ {
+   PyObject *dict, *key, *val;
+   int num_settings = 0;
+-  int pos = 0;
++  Py_ssize_t pos = 0;
+   cups_option_t *settings = NULL;
+   if (!PyArg_ParseTuple (args, "O", &dict))
+     return NULL;
================================================================


More information about the pld-cvs-commit mailing list