From 9e79a59a9cd97513d54c3e6190d2391947daa14b Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Tue, 25 Aug 2015 08:27:18 +0000 Subject: texk/dvipdfm-x: Replace '(unsigned) long' by '(unsigned) int' or '(u)int32_t' except when needed with for ftell() and fseek() git-svn-id: svn://tug.org/texlive/trunk@38200 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/dvipdfm-x/spc_dvips.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Build/source/texk/dvipdfm-x/spc_dvips.c') diff --git a/Build/source/texk/dvipdfm-x/spc_dvips.c b/Build/source/texk/dvipdfm-x/spc_dvips.c index e12a7276125..3fbae93436d 100644 --- a/Build/source/texk/dvipdfm-x/spc_dvips.c +++ b/Build/source/texk/dvipdfm-x/spc_dvips.c @@ -1,6 +1,6 @@ /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. - Copyright (C) 2002-2014 by Jin-Hwan Cho and Shunsaku Hirata, + Copyright (C) 2002-2015 by Jin-Hwan Cho and Shunsaku Hirata, the dvipdfmx project team. Copyright (C) 1998, 1999 by Mark A. Wicks @@ -936,7 +936,7 @@ spc_dvips_at_end_page (void) } int -spc_dvips_check_special (const char *buf, long len) +spc_dvips_check_special (const char *buf, int len) { const char *p, *endptr; int i; @@ -948,7 +948,7 @@ spc_dvips_check_special (const char *buf, long len) if (p >= endptr) return 0; - len = (long) (endptr - p); + len = (int) (endptr - p); for (i = 0; i < sizeof(dvips_handlers)/sizeof(struct spc_handler); i++) { if (len >= strlen(dvips_handlers[i].key) && -- cgit v1.2.3