Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/dvi/mdvi-lib/dviread.c
diff options
context:
space:
mode:
Diffstat (limited to 'dvi/mdvi-lib/dviread.c')
-rw-r--r--dvi/mdvi-lib/dviread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dvi/mdvi-lib/dviread.c b/dvi/mdvi-lib/dviread.c
index 2f9b5cd..d4eddcc 100644
--- a/dvi/mdvi-lib/dviread.c
+++ b/dvi/mdvi-lib/dviread.c
@@ -853,7 +853,7 @@ DviContext *mdvi_init_context(DviParams *par, DviPageSpec *spec, const char *fil
for(i = 1; i <= 10; i++)
page[i] = fsget4(p);
page[0] = offset;
- offset = (long)fuget4(p);
+ offset = fsget4(p);
/* check if the page is selected */
if(spec && mdvi_page_selected(spec, page, n) == 0) {
DEBUG((DBG_DVI, "Page %d (%ld.%ld.%ld.%ld.%ld.%ld.%ld.%ld.%ld.%ld) ignored by request\n",