PhysX: Fix breakage due to reinterpret_cast<SomeType*>(NULL) on musl
Use nullptr instead of reinterpret_cast. Musl does not define NULL as
int but nullptr.
error: reinterpret_cast from 'std::nullptr_t' to 'PxVehicleTireData *' is not allowed
Pick-to: 6.5 6.6
Change-Id: I11bf68c252afb9b7e35d08dfa119df9decca28ab
Reviewed-by: Jonas Karlsson <jonas.karlsson@qt.io>
| commit | 4c710d4b32f0e056cb0d700c7c6e703e61f979eb |
| parent | 239189da5876340b79243b5363cd78cc95bd52b0 |
| author | Khem Raj <raj.khem@gmail.com> |
| committer | Jonas Karlsson <jonas.karlsson@qt.io> |
| commit time | Wed, 30 Aug 2023 15:06:39 +0000 |
- A src/3rdparty/PhysX/0001-PhysX-Fix-breakage-due-to-reinterpret_cast-SomeType-.patch
- M src/3rdparty/PhysX/source/physxmetadata/core/include/PxAutoGeneratedMetaDataObjects.h
- M src/3rdparty/PhysX/source/physxmetadata/extensions/include/PxExtensionAutoGeneratedMetaDataObjects.h
- M src/3rdparty/PhysX/source/physxvehicle/src/physxmetadata/include/PxVehicleAutoGeneratedMetaDataObjects.h