summaryrefslogtreecommitdiff
path: root/src/cm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cm.c')
-rw-r--r--src/cm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cm.c b/src/cm.c
index af4116f3fec..108ee5720f3 100644
--- a/src/cm.c
+++ b/src/cm.c
@@ -199,7 +199,7 @@ calccost (struct tty_display_info *tty,
tabx,
tab2x,
tabcost;
- register char *p;
+ register const char *p;
/* If have just wrapped on a terminal with xn,
don't believe the cursor position: give up here
@@ -331,8 +331,8 @@ cmgoto (struct tty_display_info *tty, int row, int col)
relcost,
directcost;
int use IF_LINT (= 0);
- char *p,
- *dcm;
+ char *p;
+ const char *dcm;
/* First the degenerate case */
if (row == curY (tty) && col == curX (tty)) /* already there */