• R/O
  • SSH
  • HTTPS

ttssh2: コミット


コミットメタ情報

リビジョン8302 (tree)
日時2019-10-15 01:13:08
作者zmatsuo

ログメッセージ

64bitビルド時のコンパイラ警告対策

変更サマリ

差分

--- trunk/teraterm/common/tipwin.cpp (revision 8301)
+++ trunk/teraterm/common/tipwin.cpp (revision 8302)
@@ -89,7 +89,7 @@
8989 SelectObject(hdc, tWin->tip_font);
9090 tWin->str_rect.top = 0;
9191 tWin->str_rect.left = 0;
92- DrawText(hdc, tWin->str, tWin->str_len,
92+ DrawText(hdc, tWin->str, (int)tWin->str_len,
9393 &tWin->str_rect, DT_LEFT|DT_CALCRECT);
9494 DeleteDC(hdc);
9595 }
@@ -139,7 +139,7 @@
139139 rect.right = rect.right + TIP_WIN_FRAME_WIDTH;
140140 rect.top = rect.top + TIP_WIN_FRAME_WIDTH;
141141 rect.bottom = rect.bottom + TIP_WIN_FRAME_WIDTH;
142- DrawText(hdc, self->tWin->str, self->tWin->str_len, &rect, DT_LEFT);
142+ DrawText(hdc, self->tWin->str, (int)self->tWin->str_len, &rect, DT_LEFT);
143143 }
144144
145145 SelectObject(hdc, holdbr);
@@ -380,7 +380,7 @@
380380 SelectObject(hdc, tip_font);
381381 str_rect.top = 0;
382382 str_rect.left = 0;
383- DrawText(hdc, str, str_len, &str_rect, DT_LEFT|DT_CALCRECT);
383+ DrawText(hdc, str, (int)str_len, &str_rect, DT_LEFT|DT_CALCRECT);
384384 *width = str_rect.right - str_rect.left;
385385 *height = str_rect.bottom - str_rect.top;
386386 DeleteDC(hdc);
旧リポジトリブラウザで表示