Commit e6c3a2be authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

richedit: Unsigned cast char to avoid EOF equality.

parent 930f8f5a
......@@ -109,7 +109,7 @@ int _RTFGetChar(RTF_Info *info)
if (stream->dwSize == 0)
return EOF;
}
ch = stream->buffer[stream->dwUsed++];
ch = (unsigned char)stream->buffer[stream->dwUsed++];
if (!ch)
return EOF;
return ch;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment