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

Fix invalid conversion in src/common/unicode_util.cpp #7679

Open
wants to merge 1 commit into
base: B3_0_Release
Choose a base branch
from

Commits on Jul 16, 2023

  1. Fix invalid conversion in src/common/unicode_util.cpp

    I found this error when I built Firebird as part of LibreOffice.
    
    [...]
    > workdir/UnpackedTarball/firebird/src/common/unicode_util.cpp:1381:48:
    > error: invalid conversion from 'UChar* {aka char16_t*}' to
    > 'const short unsigned int*' [-fpermissive]
    >      const Array<USHORT> str(strChars, prefixLen);
    >                                                 ^
    [...]
    
    Use the reinterpret_cast operator to avoid this error.
    th1722 committed Jul 16, 2023
    Configuration menu
    Copy the full SHA
    f531568 View commit details
    Browse the repository at this point in the history