Remove in <--> unsigned int mismatch

This commit is contained in:
Holger Vogt 2022-01-08 22:36:21 +01:00
parent c2d279a1ef
commit de572d2cdf
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ int CKTspCalcPowerWave(CKTcircuit* ckt)
double* rhsold = ckt->CKTrhsOld;
double* irhsold = ckt->CKTirhsOld;
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]);
int row = pSrc->VSRCportNum - 1;