headers: Add casts in ua_wcs*chr in stralign.h

When building libcxx, a version of wcschr that returns const
is provided, breaking compilation here since the return from
wcschr is returned directly as if it were a const pointer.
By adding these casts, compilation succeeds.

This matches the calls to uaw_wcschr and uaw_wcsrchr directly
below, having similar casts.

Signed-off-by: Martin Storsjö <martin@...>
Signed-off-by: Mateusz Mikuła <mati865@...>

Upstream URL:
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/1bd66b53be1b4da7e6679d01d2626c1d9bdc989f/

Change-Id: Ie8bc1cca20519a59fef01dec57f6b4f2aa3078ce
1 file changed
tree: cefbd40fe7792c2cbdca9199b0b51a9de96ad369
  1. mingw-w64-v5.0.0/
  2. build.sh
  3. README.md
  4. README.version
README.md

Building Mingw for Android

The build.sh script in this directory is used to build mingw for Android.

Mingw is built from the mingw branch of AOSP. To fetch the sources:

repo init -u https://android.googlesource.com/platform/manifest -b mingw

# Googlers, use
repo init -u \
    persistent-https://android.git.corp.google.com/platform/manifest -b mingw

To build, run build.sh. Run with --help for a list of options.