aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorStefan Monnier2011-02-11 21:27:53 -0500
committerStefan Monnier2011-02-11 21:27:53 -0500
commitc530e1c2a3a036d71942c354ba11b30a06341fd7 (patch)
tree184fa6b6c9bb58855aa9f1ae6cded97edc4f10fb /src/data.c
parent295fb2ac59b66c0e2470325a42c8e58c135ed044 (diff)
parente0e36cac4adaa32ad755a34c811366dd8e4655bc (diff)
downloademacs-c530e1c2a3a036d71942c354ba11b30a06341fd7.tar.gz
emacs-c530e1c2a3a036d71942c354ba11b30a06341fd7.zip
Merge from trunk
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/data.c b/src/data.c
index 8b1f4a035ba..83da3e103cb 100644
--- a/src/data.c
+++ b/src/data.c
@@ -2427,7 +2427,7 @@ present, base 10 is used. BASE must be between 2 and 16 (inclusive).
2427If the base used is not 10, STRING is always parsed as integer. */) 2427If the base used is not 10, STRING is always parsed as integer. */)
2428 (register Lisp_Object string, Lisp_Object base) 2428 (register Lisp_Object string, Lisp_Object base)
2429{ 2429{
2430 register unsigned char *p; 2430 register char *p;
2431 register int b; 2431 register int b;
2432 int sign = 1; 2432 int sign = 1;
2433 Lisp_Object val; 2433 Lisp_Object val;
@@ -2446,7 +2446,7 @@ If the base used is not 10, STRING is always parsed as integer. */)
2446 2446
2447 /* Skip any whitespace at the front of the number. Some versions of 2447 /* Skip any whitespace at the front of the number. Some versions of
2448 atoi do this anyway, so we might as well make Emacs lisp consistent. */ 2448 atoi do this anyway, so we might as well make Emacs lisp consistent. */
2449 p = SDATA (string); 2449 p = SSDATA (string);
2450 while (*p == ' ' || *p == '\t') 2450 while (*p == ' ' || *p == '\t')
2451 p++; 2451 p++;
2452 2452
@@ -3347,4 +3347,3 @@ init_data (void)
3347 signal (SIGEMT, arith_error); 3347 signal (SIGEMT, arith_error);
3348#endif /* uts */ 3348#endif /* uts */
3349} 3349}
3350