From b3b896c472bd802ace10eca85b8d6a7e55a36908 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 7 Sep 2015 08:37:05 +0000 Subject: warning fix git-svn-id: http://svn.miranda-ng.org/main/trunk@15290 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/HistoryStats/src/column_timeline.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'plugins/HistoryStats/src/column_timeline.cpp') diff --git a/plugins/HistoryStats/src/column_timeline.cpp b/plugins/HistoryStats/src/column_timeline.cpp index 111104be4e..f0e8a166d6 100644 --- a/plugins/HistoryStats/src/column_timeline.cpp +++ b/plugins/HistoryStats/src/column_timeline.cpp @@ -298,11 +298,11 @@ void ColTimeline::outputRenderRowInOut(ext::ostream& tos, const Contact& contact int from_left = 3 * ((curDay - m_nFirstDay) / m_nDays); if (bar_len != 0) - ExtTextOut(hDC, 0, 0, ETO_OPAQUE, &utils::rect(from_left, 24 - bar_len, from_left + 3, 25 + bar_len), NULL, 0, NULL); + ExtTextOut(hDC, 0, 0, ETO_OPAQUE, utils::rect(from_left, 24 - bar_len, from_left + 3, 25 + bar_len), NULL, 0, NULL); } SetBkColor(hDC, con::ColorBarLine); - ExtTextOut(hDC, 0, 0, ETO_OPAQUE, &utils::rect(0, 24, m_nTimelineWidth, 25), NULL, 0, NULL); + ExtTextOut(hDC, 0, 0, ETO_OPAQUE, utils::rect(0, 24, m_nTimelineWidth, 25), NULL, 0, NULL); canvas.endDraw(); @@ -340,7 +340,7 @@ void ColTimeline::outputRenderRowInOut(ext::ostream& tos, const Contact& contact if (m_bDetail) { - DWORD rightDay = min(curDay + m_nDays - 1, m_nLastDay); + int rightDay = min(curDay + m_nDays - 1, m_nLastDay); tos << _T("
0) { SetBkColor(hDC, con::ColorOut); - ExtTextOut(hDC, 0, 0, ETO_OPAQUE, &utils::rect(from_left, 25 - bar_len, from_left + 3, 25), NULL, 0, NULL); + ExtTextOut(hDC, 0, 0, ETO_OPAQUE, utils::rect(from_left, 25 - bar_len, from_left + 3, 25), NULL, 0, NULL); } } @@ -484,7 +484,7 @@ void ColTimeline::outputRenderRowRatio(ext::ostream& tos, const Contact& contact if (m_bDetail) { - DWORD rightDay = min(curDay + m_nDays - 1, m_nLastDay); + int rightDay = min(curDay + m_nDays - 1, m_nLastDay); tos << _T("