Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix gcc compiler warning in testFun.cpp (#262)
* Fix gcc compiler warning in testFun.cpp PR #250 changed the %lx to %llx to suppress an MSVC warning, but it introduced a gcc warning, where uint64_t is long, not long long. Better to leave it as %lx and just cast to long. It's only a printf anyway. Signed-off-by: Cary Phillips <cary@ilm.com> * cast to unsigned long long for %llx Signed-off-by: Cary Phillips <cary@ilm.com> * In printf, bit_cast to uint<n>_t and use PRIx<n> This shoudl properly avoid warnings on all platforms. Signed-off-by: Cary Phillips <cary@ilm.com> Signed-off-by: Cary Phillips <cary@ilm.com>
- Loading branch information