#624 Alter declaration to suppress VS.NET 2002 warnings

closed-rejected
None
5
2004-04-27
2004-04-25
No

In MergeDoc.cpp

in CMergeDoc::PrimeTextBuffers()

Alter nDiffs type to be UINT instead of int, to reduce
warnings.

Discussion

  • Kimmo Varis

    Kimmo Varis - 2004-04-27

    Logged In: YES
    user_id=631874

    I'm not sure about this. Unless you fix ranges of loops etc.
    For example, look at line (2104):

    > for (nDiff = m_nDiffs - 1; nDiff >= 0; nDiff --)

    m_nDiffs can be 0 (zero)...

     
  • Anonymous - 2004-04-27

    Logged In: YES
    user_id=60964

    Oops. I concur. Changing status to rejected & closing.

     
  • Anonymous - 2004-04-27
    • assigned_to: nobody --> puddle
    • status: open --> closed-rejected
     

Log in to post a comment.