mardi 10 août 2021

warning C4018: '<' : signed/unsigned mismatch?

This code throws a warning when I compile it under VS.

if (m_nDarksideEffectAttCnt < m_DarkTargetIndex.size())

if (m_DuelWatchUserList.size() <= iIndex)

Warning:

& warning C4018: '<=' : signed/unsigned mismatch

    

Any solutions?

Aucun commentaire:

Enregistrer un commentaire