summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipng/dvipng-1.14/vf.c
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/dvipng/dvipng-1.14/vf.c')
-rw-r--r--Build/source/texk/dvipng/dvipng-1.14/vf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/Build/source/texk/dvipng/dvipng-1.14/vf.c b/Build/source/texk/dvipng/dvipng-1.14/vf.c
index d1d33fe6d7e..9f66e5fcf62 100644
--- a/Build/source/texk/dvipng/dvipng-1.14/vf.c
+++ b/Build/source/texk/dvipng/dvipng-1.14/vf.c
@@ -79,9 +79,15 @@ void InitVF(struct font_entry * tfontp)
/* Read font definitions */
position += 8;
while(*position >= FNT_DEF1 && *position <= FNT_DEF4) {
+#ifdef _WIN64
+ DEBUG_PRINT(DEBUG_VF,("\n @%I64d VF:\t%s",
+ (__int64)position - (__int64)tfontp->fmmap.data,
+ dvi_commands[*position]));
+#else
DEBUG_PRINT(DEBUG_VF,("\n @%ld VF:\t%s",
(long)position - (long)tfontp->fmmap.data,
dvi_commands[*position]));
+#endif
FontDef(position,tfontp);
length = dvi_commandlength[*position];
position += length + *(position + length-1) + *(position+length-2);
@@ -95,8 +101,13 @@ void InitVF(struct font_entry * tfontp)
/* Read char definitions */
while(*position < FNT_DEF1) {
+#ifdef _WIN64
+ DEBUG_PRINT(DEBUG_VF,("\n@%I64d VF CHAR:\t",
+ (__int64)position - (__int64)tfontp->fmmap.data));
+#else
DEBUG_PRINT(DEBUG_VF,("\n@%ld VF CHAR:\t",
(long)position - (long)tfontp->fmmap.data));
+#endif
tcharptr=xmalloc(sizeof(struct char_entry));
switch (*position) {
case LONG_CHAR: