* -- 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>
m_atoi (char *str)
{
int i;
- char *cp;
+ unsigned char *cp;
for (i = 0, cp = str; *cp; cp++) {
#ifdef LOCALE