Remove in <--> unsigned int mismatch

This commit is contained in:
Holger Vogt
2022-02-17 15:48:52 +01:00
parent c2d279a1ef
commit de572d2cdf
+1 -1
View File
@@ -34,7 +34,7 @@ int CKTspCalcPowerWave(CKTcircuit* ckt)
double* rhsold = ckt->CKTrhsOld; double* rhsold = ckt->CKTrhsOld;
double* irhsold = ckt->CKTirhsOld; double* irhsold = ckt->CKTirhsOld;
int col = ckt->CKTactivePort - 1; int col = ckt->CKTactivePort - 1;
for (int port = 0; port < ckt->CKTportCount; port++) for (unsigned int port = 0; port < ckt->CKTportCount; port++)
{ {
VSRCinstance* pSrc = (VSRCinstance*)(ckt->CKTrfPorts[port]); VSRCinstance* pSrc = (VSRCinstance*)(ckt->CKTrfPorts[port]);
int row = pSrc->VSRCportNum - 1; int row = pSrc->VSRCportNum - 1;