Some more fine tuning of log output

Corrected a misleading warning in motorsec.c
Fixed a core dump caused by copyNode in sicsdata.c. Was caused by a bad call
to getPointer.
This commit is contained in:
2016-05-10 11:29:09 +02:00
parent e476d19040
commit 7f6b31e098
4 changed files with 4 additions and 5 deletions

View File

@ -866,7 +866,7 @@ static int copyNode(pSICSData self, int argc, char *argv[],
break;
case HIPINTAR:
case HIPINTVARAR:
memcpy(iData+pos, node->value.v.intArray, length*sizeof(int));
memcpy(iData, node->value.v.intArray, length*sizeof(int));
assignType(self, pos, pos + length, INTTYPE);
break;
case HIPFLOATAR: