forgot cast
authorFilippo Gioachin <gioachin@illinois.edu>
Wed, 24 Nov 2004 03:04:28 +0000 (03:04 +0000)
committerFilippo Gioachin <gioachin@illinois.edu>
Wed, 24 Nov 2004 03:04:28 +0000 (03:04 +0000)
src/libs/ck-libs/pythonCCS/PythonCCS-client.C

index 44e5717d1304bb050a2aa8498f72c4853b4f1e31..88db4112201e41af5cd70fbd2c92682519e9b199 100644 (file)
@@ -25,7 +25,7 @@ PythonExecute::PythonExecute(char *_code, char *_method, PythonIterator *_info,
   methodNameLength = strlen(_method);
   methodName.methodName = strdup(_method);
   infoSize = _info->size();
-  info.info = _info->pack();
+  info.info = (PythonIterator *)_info->pack();
   flags = 0;
   if (_persistent) {
     flags |= FLAG_PERSISTENT;
@@ -54,7 +54,7 @@ void PythonExecute::setMethodName(char *_set) {
 
 void PythonExecute::setIterator(PythonIterator *_set) {
   infoSize = _set->size();
-  info.info = _set->pack();
+  info.info = (PythonIterator *)_set->pack();
 }
 
 void PythonExecute::setPersistent(bool _set) {