Remove MSVC-ism; I think this is safe, and these methods are only win32-crash
authorCarl Hetherington <cth@carlh.net>
Tue, 22 Feb 2022 22:50:22 +0000 (23:50 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 24 Feb 2022 20:13:14 +0000 (21:13 +0100)
used for debug logging anyway as far as I can see.

src/asdcp/KLV.h

index bad1f125523e1125631dbd7bfe30cafef06a9275..5bca07c7ae18c428e4f8eb168454afc9b5c90aa8 100755 (executable)
@@ -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;
 }