riched20: Avoid using long.

This commit is contained in:
Michael Stefaniuc 2010-05-17 01:11:23 +02:00 committed by Alexandre Julliard
parent eb558c4403
commit cf13e8a390
3 changed files with 3 additions and 3 deletions

View File

@ -289,7 +289,7 @@ static LRESULT ME_StreamInText(ME_TextEditor *editor, DWORD dwFormat, ME_InStrea
TRACE("%08x %p\n", dwFormat, stream); TRACE("%08x %p\n", dwFormat, stream);
do { do {
long nWideChars = 0; LONG nWideChars = 0;
if (!stream->dwSize) if (!stream->dwSize)
{ {

View File

@ -1122,7 +1122,7 @@ struct _RTF_Info {
char *rtfTextBuf; char *rtfTextBuf;
int rtfTextLen; int rtfTextLen;
long rtfLineNum; int rtfLineNum;
int rtfLinePos; int rtfLinePos;

View File

@ -4318,7 +4318,7 @@ const struct exsetsel_s exsetsel_tests[] = {
static void check_EM_EXSETSEL(HWND hwnd, const struct exsetsel_s *setsel, int id) { static void check_EM_EXSETSEL(HWND hwnd, const struct exsetsel_s *setsel, int id) {
CHARRANGE cr; CHARRANGE cr;
long result; LRESULT result;
int start, end; int start, end;
cr.cpMin = setsel->min; cr.cpMin = setsel->min;