texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/info info-utils.c


From: Sergey Poznyakoff
Subject: texinfo/info info-utils.c
Date: Thu, 28 Jul 2011 07:12:48 +0000

CVSROOT:        /cvsroot/texinfo
Module name:    texinfo
Changes by:     Sergey Poznyakoff <gray>        11/07/28 07:12:48

Modified files:
        info           : info-utils.c 

Log message:
        (printed_representation): Change first argument to const char *.
        All callers updated.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/info-utils.c?cvsroot=texinfo&r1=1.14&r2=1.15

Patches:
Index: info-utils.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/info-utils.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- info-utils.c        23 Jan 2009 09:37:40 -0000      1.14
+++ info-utils.c        28 Jul 2011 07:12:47 -0000      1.15
@@ -1,5 +1,5 @@
 /* info-utils.c -- miscellanous.
-   $Id: info-utils.c,v 1.14 2009/01/23 09:37:40 gray Exp $
+   $Id: info-utils.c,v 1.15 2011/07/28 07:12:47 gray Exp $
 
    Copyright (C) 1993, 1998, 2003, 2004, 2007, 2008, 2009
    Free Software Foundation, Inc.
@@ -504,10 +504,11 @@
 /* Return a pointer to a string which is the printed representation
    of CHARACTER if it were printed at HPOS. */
 char *
-printed_representation (const unsigned char *cp, size_t len, size_t hpos,
+printed_representation (const char *character, size_t len, size_t hpos,
                        /* Return: */
                        size_t *plen)
 {
+  const unsigned char *cp = (const unsigned char *) character;
   register int i = 0;
   int printable_limit = ISO_Latin_p ? 255 : 127;
 #define REPSPACE(s)                                            \



reply via email to

[Prev in Thread] Current Thread [Next in Thread]