$OpenBSD: patch-reportlab_lib__rl_accel_c,v 1.1.1.1 2004/07/27 08:55:21 xsa Exp $
--- reportlab/lib/_rl_accel.c.orig	2003-12-24 09:30:25.000000000 +0100
+++ reportlab/lib/_rl_accel.c	2004-02-15 18:23:19.000000000 +0100
@@ -766,9 +766,9 @@ static PyObject *ttfonts_calcChecksum(Py
 {
 	unsigned char	*data;
 	int				dataLen;
-	unsigned long	Sum = 0L;
+	int		Sum = 0L;
 	unsigned char	*EndPtr;
-	unsigned long n;
+	int n;
 	int leftover;
 
 
@@ -798,7 +798,7 @@ static PyObject *ttfonts_calcChecksum(Py
 
 static PyObject *ttfonts_add32(PyObject *self, PyObject* args)
 {
-	unsigned long x, y;
+	int x, y;
 #if PY_MAJOR_VERSION>=2 && PY_MINOR_VERSION>=3
 	PyObject	*ox, *oy;
 	if(!PyArg_ParseTuple(args, "OO:add32", &ox, &oy)) return NULL;
