diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2022-04-06 15:47:20 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-06 15:47:20 +0200 |
| commit | ac591d9904e4e5cf7841b3e79caabf558d37db0e (patch) | |
| tree | 70f3bd487e91feb4ca777dba214a09b17041da97 /platform/android/export/gradle_export_util.cpp | |
| parent | 72407a9cfbd4f58102972c0910429f3ab7006f07 (diff) | |
| parent | f851c4aa330e1064a66db50be62db2466f4fb768 (diff) | |
| download | redot-engine-ac591d9904e4e5cf7841b3e79caabf558d37db0e.tar.gz | |
Merge pull request #59911 from bruvzg/cppcheck_fixes
Diffstat (limited to 'platform/android/export/gradle_export_util.cpp')
| -rw-r--r-- | platform/android/export/gradle_export_util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/export/gradle_export_util.cpp b/platform/android/export/gradle_export_util.cpp index ff7ea8f2db..430aeaf036 100644 --- a/platform/android/export/gradle_export_util.cpp +++ b/platform/android/export/gradle_export_util.cpp @@ -122,7 +122,7 @@ Error store_string_at_path(const String &p_path, const String &p_data) { // It's functionality mirrors that of the method save_apk_file. // This method will be called ONLY when custom build is enabled. Error rename_and_store_file_in_gradle_project(void *p_userdata, const String &p_path, const Vector<uint8_t> &p_data, int p_file, int p_total, const Vector<String> &p_enc_in_filters, const Vector<String> &p_enc_ex_filters, const Vector<uint8_t> &p_key) { - CustomExportData *export_data = (CustomExportData *)p_userdata; + CustomExportData *export_data = static_cast<CustomExportData *>(p_userdata); String dst_path = p_path.replace_first("res://", export_data->assets_directory + "/"); print_verbose("Saving project files from " + p_path + " into " + dst_path); Error err = store_file_at_path(dst_path, p_data); |
