diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-02-22 23:50:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-02-24 21:13:14 +0100 |
| commit | 97918d86caf4b5a2296a0d3092f1e2e69b9af9e5 (patch) | |
| tree | 99bc530c8fa20e96fcbb42aa47c28a71e5df9313 | |
| parent | a985cd993831e2543f9bf851227e1e9466c765f0 (diff) | |
Remove MSVC-ism; I think this is safe, and these methods are onlywin32-crash
used for debug logging anyway as far as I can see.
| -rwxr-xr-x | src/asdcp/KLV.h | 8 |
1 files changed, 0 insertions, 8 deletions
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; } |
