Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delphi 2007 bad typecast #152

Open
ManD12 opened this issue Aug 8, 2023 · 0 comments
Open

Delphi 2007 bad typecast #152

ManD12 opened this issue Aug 8, 2023 · 0 comments

Comments

@ManD12
Copy link

ManD12 commented Aug 8, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant