* search.c (Freplace_match, Fregexp_quote): Likewise.
* alloc.c (make_string, make_specified_string, make_pure_string):
Likewise.
+ * data.c (Fstring_to_number): Likewise.
+ * print.c (float_to_string): Likewise.
2011-02-06 Paul Eggert <eggert@cs.ucla.edu>
If the base used is not 10, STRING is always parsed as integer. */)
(register Lisp_Object string, Lisp_Object base)
{
- register unsigned char *p;
+ register char *p;
register int b;
int sign = 1;
Lisp_Object val;
/* Skip any whitespace at the front of the number. Some versions of
atoi do this anyway, so we might as well make Emacs lisp consistent. */
- p = SDATA (string);
+ p = SSDATA (string);
while (*p == ' ' || *p == '\t')
p++;
signal (SIGEMT, arith_error);
#endif /* uts */
}
-
extern Lisp_Object internal_with_output_to_temp_buffer
(const char *, Lisp_Object (*) (Lisp_Object), Lisp_Object);
#define FLOAT_TO_STRING_BUFSIZE 350
-extern void float_to_string (unsigned char *, double);
+extern void float_to_string (char *, double);
extern void syms_of_print (void);
/* Defined in doprnt.c */
*/
void
-float_to_string (unsigned char *buf, double data)
+float_to_string (char *buf, double data)
{
- unsigned char *cp;
+ char *cp;
int width;
/* Check for plus infinity in a way that won't lose
/* Check that the spec we have is fully valid.
This means not only valid for printf,
but meant for floats, and reasonable. */
- cp = SDATA (Vfloat_output_format);
+ cp = SSDATA (Vfloat_output_format);
if (cp[0] != '%')
goto lose;