projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore editor backup files
[mmh]
/
sbr
/
m_atoi.c
diff --git
a/sbr/m_atoi.c
b/sbr/m_atoi.c
index
b1b5133
..
dffc799
100644
(file)
--- a/
sbr/m_atoi.c
+++ b/
sbr/m_atoi.c
@@
-5,6
+5,10
@@
* -- contains any non-digit characters, then return 0.
*
* $Id$
* -- contains any non-digit characters, then return 0.
*
* $Id$
+ *
+ * This code is Copyright (c) 2002, by the authors of nmh. See the
+ * COPYRIGHT file in the root directory of the nmh distribution for
+ * complete copyright information.
*/
#include <h/mh.h>
*/
#include <h/mh.h>
@@
-14,7
+18,7
@@
int
m_atoi (char *str)
{
int i;
m_atoi (char *str)
{
int i;
- char *cp;
+ unsigned char *cp;
for (i = 0, cp = str; *cp; cp++) {
#ifdef LOCALE
for (i = 0, cp = str; *cp; cp++) {
#ifdef LOCALE