I have downloaded the latest SynEdit package from SourceForge, trying to install, but I1m getting the following error:

**[dcc32 Error] SynUnicode.pas(1723): E2010 Incompatible types: 'AnsiChar' and 'Char'**

```
{$IFNDEF SYN_COMPILER_6_UP}
{$IFDEF SYN_WIN32}
function UnicodeToUtf8(Dest: PAnsiChar; MaxDestBytes: Cardinal;
  Source: PWideChar; SourceChars: Cardinal): Cardinal;
var
  i, count: Cardinal;
  c: Cardinal;
begin
  ...
  begin
>    Dest[count] := Char(c);
    Inc(count);
  end
...
end;

```

SYN\_COMPILER\_17\_UP is defined. Any idea how to install this package properly?