[libomptarget][NFC] Replace `%ld` with PRId64 for data of type int64_t.
authorGeorge Rokos <georgios.rokos@intel.com>
Wed, 5 Aug 2020 20:06:27 +0000 (13:06 -0700)
committerGeorge Rokos <georgios.rokos@intel.com>
Wed, 5 Aug 2020 20:28:35 +0000 (13:28 -0700)
commit40470eb27a5c97b01e89d8825626487b0682abec
tree07af96de5cfadff6682245912762da0d680a3108
parent0bcda1a26130e1e91903db6f7e51d821cf3fe85b
[libomptarget][NFC] Replace `%ld` with PRId64 for data of type int64_t.

The standard way of printing `int64_t` data is via the PRId64 macro, `ld`
is for `long int` and int64_t is not guaranteed to be typedef'ed as `long int`
on all platforms. E.g. on Windows we get mismatch warnings.

Differential Revision: https://reviews.llvm.org/D85353
openmp/libomptarget/plugins/cuda/src/rtl.cpp
openmp/libomptarget/src/device.cpp
openmp/libomptarget/src/omptarget.cpp
openmp/libomptarget/src/rtl.cpp