From 97918d86caf4b5a2296a0d3092f1e2e69b9af9e5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 22 Feb 2022 23:50:22 +0100 Subject: Remove MSVC-ism; I think this is safe, and these methods are only used for debug logging anyway as far as I can see. --- src/asdcp/KLV.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src') diff --git a/src/asdcp/KLV.h b/src/asdcp/KLV.h index bad1f12..5bca07c 100755 --- a/src/asdcp/KLV.h +++ b/src/asdcp/KLV.h @@ -57,22 +57,14 @@ namespace ASDCP inline const char* i64sz(i64_t i, char* buf) { assert(buf); -#ifdef WIN32 - snprintf(buf, IntBufferLen, "%I64d", i); -#else snprintf(buf, IntBufferLen, "%lld", i); -#endif return buf; } inline const char* ui64sz(ui64_t i, char* buf) { assert(buf); -#ifdef WIN32 - snprintf(buf, IntBufferLen, "%I64u", i); -#else snprintf(buf, IntBufferLen, "%llu", i); -#endif return buf; } -- cgit v1.2.3