Src/Languages/Catalan: MergeCatalan.rc
PATCH: [ 1563386 ] Spanish translation update
Submitted by Jesus M. Delgado 'Mack'
- Src/Languages/Spanish: MergeSpanish.rc
+ Src/Languages/Spanish: MergeSpanish.rc
+ Quiet warnings from DiffList.cpp
+ Src: DiffList.cpp
2006-09-21 WinMerge experimental release 2.5.7.1 (SVN revision 3600)
*/
int DiffList::GetSize() const
{
- return m_diffs.GetSize();
+ return (int) m_diffs.GetSize();
}
/**
int DiffList::GetSignificantDiffs() const
{
int nSignificants = 0;
- const int nDiffCount = m_diffs.GetSize();
+ const int nDiffCount = (int) m_diffs.GetSize();
for (int i = 0; i < nDiffCount; i++)
{
*/
int DiffList::LineToDiff(UINT nLine) const
{
- const int nDiffCount = m_diffs.GetSize();
+ const int nDiffCount = (int) m_diffs.GetSize();
if (nDiffCount == 0)
return -1;
if (nDiff == -1)
{
bInDiff = FALSE;
- for (int i = m_diffs.GetSize() - 1; i >= 0 ; i--)
+ for (int i = (int) m_diffs.GetSize() - 1; i >= 0 ; i--)
{
if ((int)DiffRangeAt(i)->dend0 <= nLine)
{
if (numDiff == -1)
{
bInDiff = FALSE;
- const int nDiffCount = m_diffs.GetSize();
+ const int nDiffCount = (int) m_diffs.GetSize();
for (int i = 0; i < nDiffCount; i++)
{
if ((int)DiffRangeAt(i)->dbegin0 >= nLine)
{
int nDiff = -1;
- for (int i = m_diffs.GetSize() - 1; i >= 0 ; i--)
+ for (int i = (int) m_diffs.GetSize() - 1; i >= 0 ; i--)
{
const DIFFRANGE * dfi = DiffRangeAt(i);
if (dfi->op != OP_TRIVIAL && dfi->dend0 <= nLine)
int DiffList::NextSignificantDiffFromLine(UINT nLine) const
{
int nDiff = -1;
- const int nDiffCount = m_diffs.GetSize();
+ const int nDiffCount = (int) m_diffs.GetSize();
for (int i = 0; i < nDiffCount; i++)
{