We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3a2a30 commit ceda2dcCopy full SHA for ceda2dc
main/field.c
@@ -1141,11 +1141,16 @@ static const char *renderFieldEpoch (const tagEntryInfo *const tag,
1141
{
1142
#define buf_len 21
1143
static char buf[buf_len];
1144
-
1145
- if (snprintf (buf, buf_len, "%lld", (long long)tag->extensionFields.epoch) > 0)
+#ifdef _MSC_VER
+#define FMTLL "%I64d"
1146
+#else
1147
+#define FMTLL "%lld"
1148
+#endif
1149
+ if (snprintf (buf, buf_len, FMTLL, (long long)tag->extensionFields.epoch) > 0)
1150
return renderAsIs (b, buf);
1151
else
1152
return NULL;
1153
+#undef FMTLL
1154
#undef buf_len
1155
}
1156
0 commit comments