diff --git a/source/blender/asset_system/intern/asset_representation.cc b/source/blender/asset_system/intern/asset_representation.cc index 27e97ca2342..d130e856cbd 100644 --- a/source/blender/asset_system/intern/asset_representation.cc +++ b/source/blender/asset_system/intern/asset_representation.cc @@ -132,7 +132,7 @@ std::string AssetRepresentation::full_library_path() const { std::string asset_path = full_path(); - char blend_path[1090 /*FILE_MAX_LIBEXTRA*/]; + char blend_path[/*FILE_MAX_LIBEXTRA*/ 1090]; if (!BKE_blendfile_library_path_explode(asset_path.c_str(), blend_path, nullptr, nullptr)) { return {}; } diff --git a/source/blender/editors/space_file/filelist.hh b/source/blender/editors/space_file/filelist.hh index 99f921935d5..a0d0758a1f6 100644 --- a/source/blender/editors/space_file/filelist.hh +++ b/source/blender/editors/space_file/filelist.hh @@ -120,7 +120,7 @@ bool filelist_is_dir(const FileList *filelist, const char *path); /** * May modify in place given `dirpath`, which is expected to be #FILE_MAX_LIBEXTRA length. */ -void filelist_setdir(FileList *filelist, char dirpath[1090 /*FILE_MAX_LIBEXTRA*/]); +void filelist_setdir(FileList *filelist, char dirpath[/*FILE_MAX_LIBEXTRA*/ 1090]); /** * Limited version of full update done by space_file's file_refresh(), diff --git a/source/blender/io/wavefront_obj/exporter/obj_exporter.hh b/source/blender/io/wavefront_obj/exporter/obj_exporter.hh index ea26da40611..1030ccba2e7 100644 --- a/source/blender/io/wavefront_obj/exporter/obj_exporter.hh +++ b/source/blender/io/wavefront_obj/exporter/obj_exporter.hh @@ -89,5 +89,5 @@ filter_supported_objects(Depsgraph *depsgraph, const OBJExportParams &export_par */ bool append_frame_to_filename(const char *filepath, int frame, - char r_filepath_with_frames[1024 /*FILE_MAX*/]); + char r_filepath_with_frames[/*FILE_MAX*/ 1024]); } // namespace blender::io::obj