--- pyalsa-1.0.20.orig/pyalsa/alsaseq.c 2009-05-06 08:07:28.000000000 +0100 +++ pyalsa-1.0.20/pyalsa/alsaseq.c 2009-08-18 07:08:21.504628168 +0100 @@ -439,7 +439,7 @@ typedef struct { ; /* value of constant */ - unsigned int value; + long value; /* name of constant */ const char *name; /* type of constant */ @@ -468,7 +468,7 @@ Constant_create(const char *name, long v /** alsaseq.Constant tp_repr */ static PyObject * Constant_repr(ConstantObject *self) { - return PyString_FromFormat("%s(0x%x)", + return PyString_FromFormat("%s(0x%lx)", self->name, self->value); }