This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 10012 for ps


Ignore:
Timestamp:
08/16/11 04:01:11 (13 years ago)
Author:
kennethalong
Message:

Added cast to convert from unsigned to int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/gui/CInput.cpp

    r10011 r10012  
    796796            m_iBufferPos = m_iBufferPos_Tail = GetMouseHoveringTextPosition();
    797797
    798 
    799             if (m_iBufferPos >= pCaption->length())
     798            if (m_iBufferPos >= (int)pCaption->length())
    800799                m_iBufferPos = m_iBufferPos_Tail = pCaption->length() - 1;
    801 
    802800
    803801            // See if we are clicking over whitespace
     
    841839                    }
    842840
    843                     if (m_iBufferPos_Tail == pCaption->length())
     841                    if (m_iBufferPos_Tail == (int)pCaption->length())
    844842                        break;
    845843
     
    860858                    }
    861859
    862                     if (m_iBufferPos_Tail == pCaption->length())
     860                    if (m_iBufferPos_Tail == (int)pCaption->length())
    863861                        break;
    864862
Note: See TracChangeset for help on using the changeset viewer.