X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fpython%2Fdolmod.c;fp=lib%2Fpython%2Fdolmod.c;h=36910ec4a2febd2121c5a2e01678487de51a8b90;hb=071ecf131bff73dd4456e4cc2c775ce7af335289;hp=4f46682c4a271151a464d34260ac3c111cabd692;hpb=ccb54a176507ac276aaae4f45ea73b1761d7ff70;p=doldaconnect.git diff --git a/lib/python/dolmod.c b/lib/python/dolmod.c index 4f46682..36910ec 100644 --- a/lib/python/dolmod.c +++ b/lib/python/dolmod.c @@ -402,7 +402,7 @@ static PyObject *mod_checkproto(PyObject *self, PyObject *args) PyErr_SetString(PyExc_TypeError, "first argument must be a response object"); return(NULL); } - resp = tmp; + resp = (struct respobj *)tmp; if(dc_checkprotocol(resp->resp, version)) Py_RETURN_FALSE; else