summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-16 22:10:47 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-21 20:29:50 +0100
commitd82b32df5518a12a3c96e7066f925604c5a4f2b9 (patch)
treec9414d29310be1a5f2eaa4032a2bc641397cbecd /src
parent81a6359ef988c056152f82c0d62e8823928a5fac (diff)
Remove MSVC-ism; I think this is safe, and these methods are only used for debug logging anyway I think.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/KLV.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/KLV.h b/src/KLV.h
index 6eca9d0..b7f478d 100755
--- a/src/KLV.h
+++ b/src/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;
}