Commit 359d1f33 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

fix for problem found in solaris build, use "H" (unsigned short) instead of...

fix for problem found in solaris build, use "H" (unsigned short) instead of "I" (unsigned int) in parsetuple


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@2377 e5f2f494-b856-4b98-b285-d166d9295462
parent cb2a3934
......@@ -1284,7 +1284,7 @@ Message_getUDPSize(s_Message* self) {
static PyObject*
Message_setUDPSize(s_Message* self, PyObject* args) {
uint16_t size;
if (!PyArg_ParseTuple(args, "I", &size)) {
if (!PyArg_ParseTuple(args, "H", &size)) {
return (NULL);
}
try {
......@@ -1307,7 +1307,7 @@ Message_getQid(s_Message* self) {
static PyObject*
Message_setQid(s_Message* self, PyObject* args) {
uint16_t id;
if (!PyArg_ParseTuple(args, "I", &id)) {
if (!PyArg_ParseTuple(args, "H", &id)) {
return (NULL);
}
try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment