X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=sbr%2Fm_atoi.c;h=dffc799be2c543b7b652b64f446bd996083e1f2f;hp=b1b5133dfc11cac6c8473308f61cc1f21e7fe9e0;hb=13f84dd50ca5754391dbd3296a5c7425f9363600;hpb=1691e80890e5d8ba258c51c214a3e91880e1db2b diff --git a/sbr/m_atoi.c b/sbr/m_atoi.c index b1b5133..dffc799 100644 --- a/sbr/m_atoi.c +++ b/sbr/m_atoi.c @@ -5,6 +5,10 @@ * -- 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 @@ -14,7 +18,7 @@ int m_atoi (char *str) { int i; - char *cp; + unsigned char *cp; for (i = 0, cp = str; *cp; cp++) { #ifdef LOCALE