| 52cfed31 | 03-Jun-2025 |
Jose E. Roman <jroman@dsic.upv.es> |
Fix compile warning in plex.c when building with 64-bit integers
Intel(R) oneAPI DPC++/C++ Compiler 2023.1.0 (2023.1.0.20230320)
petsc/src/dm/impls/plex/plex.c:1845:95: error: implicit conversion l
Fix compile warning in plex.c when building with 64-bit integers
Intel(R) oneAPI DPC++/C++ Compiler 2023.1.0 (2023.1.0.20230320)
petsc/src/dm/impls/plex/plex.c:1845:95: error: implicit conversion loses integer precision: 'PetscInt' (aka 'long') to 'int' [-Werror,-Wshorten-64-to-32] PetscCall(PetscDrawLine(draw, PetscRealPart(coords[0]), y, PetscRealPart(coords[1]), y, lineColor)); ~~~~~~~~~~~~~ ^~~~~~~~~ petsc/include/petscerror.h:558:28: note: expanded from macro 'PetscCall' ierr_petsc_call_q_ = __VA_ARGS__; \ ^~~~~~~~~~~
show more ...
|