64bitビルド時のコンパイラ警告対策
@@ -89,7 +89,7 @@ | ||
89 | 89 | SelectObject(hdc, tWin->tip_font); |
90 | 90 | tWin->str_rect.top = 0; |
91 | 91 | tWin->str_rect.left = 0; |
92 | - DrawText(hdc, tWin->str, tWin->str_len, | |
92 | + DrawText(hdc, tWin->str, (int)tWin->str_len, | |
93 | 93 | &tWin->str_rect, DT_LEFT|DT_CALCRECT); |
94 | 94 | DeleteDC(hdc); |
95 | 95 | } |
@@ -139,7 +139,7 @@ | ||
139 | 139 | rect.right = rect.right + TIP_WIN_FRAME_WIDTH; |
140 | 140 | rect.top = rect.top + TIP_WIN_FRAME_WIDTH; |
141 | 141 | 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); | |
143 | 143 | } |
144 | 144 | |
145 | 145 | SelectObject(hdc, holdbr); |
@@ -380,7 +380,7 @@ | ||
380 | 380 | SelectObject(hdc, tip_font); |
381 | 381 | str_rect.top = 0; |
382 | 382 | 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); | |
384 | 384 | *width = str_rect.right - str_rect.left; |
385 | 385 | *height = str_rect.bottom - str_rect.top; |
386 | 386 | DeleteDC(hdc); |