summaryrefslogtreecommitdiffstats
path: root/contrib/less/prompt.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/less/prompt.c')
-rw-r--r--contrib/less/prompt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/less/prompt.c b/contrib/less/prompt.c
index 1448021..14f8ac4 100644
--- a/contrib/less/prompt.c
+++ b/contrib/less/prompt.c
@@ -1,3 +1,4 @@
+/* $FreeBSD$ */
/*
* Copyright (C) 1984-2000 Mark Nudelman
*
@@ -111,7 +112,7 @@ ap_pos(pos)
{
char buf[MAX_PRINT_POSITION];
- sprintf(buf, PR_POSITION, pos);
+ sprintf(buf, PR_POSITION, (long long)pos);
ap_str(buf);
}
OpenPOWER on IntegriCloud