Skip to content

Delphi 2007 bad typecast #152

@ManD12

Description

@ManD12

In unit RestJsonUtils.pas on line 386 where is this:
p := PSOChar(str);
But in non-unicode Delphi 2007 is str ansi string and PSOChar is equal with PWideChar. This will cause other code to behave unexpectedly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions