Fix errors with (and add tests for) unsigned long constants on solaris.

Not part of the build (and neither was the last checkin - sorry)


git-svn-id: svn://10.0.0.236/trunk@145716 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mhammond%skippinet.com.au
2003-08-08 00:51:40 +00:00
parent fd03b99bb2
commit 20db0111df
3 changed files with 4 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ PyObject *PyObject_FromXPTConstant( const XPTConstDescriptor *c)
v = PyInt_FromLong( c->value.ui16 );
break;
case TD_UINT32:
v = PyInt_FromLong( c->value.ui8 );
v = PyInt_FromLong( c->value.ui32 );
break;
case TD_UINT64:
v = PyLong_FromUnsignedLongLong(c->value.ui64);