Merge pull request #44064 from akien-mga/mono-android-fix-build

Mono: Fix Android build after #36311
This commit is contained in:
Rémi Verschelde 2020-12-03 12:52:13 +01:00 committed by GitHub
commit c6965961c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -38,10 +38,10 @@ String get_godot_android_mono_config() {
Vector<uint8_t> data;
data.resize(config_uncompressed_size);
uint8_t* w = data.ptrw();
Compression::decompress(w.ptr(), config_uncompressed_size, config_compressed_data,
Compression::decompress(w, config_uncompressed_size, config_compressed_data,
config_compressed_size, Compression::MODE_DEFLATE);
String s;
if (s.parse_utf8((const char *)w.ptr(), data.size())) {
if (s.parse_utf8((const char *)w, data.size())) {
ERR_FAIL_V(String());
}
return s;