X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=sbr%2Fm_atoi.c;h=174c40771f4bf3d6c6e5434345a1fa69980b79f2;hb=5dd6771b28c257af405d7248639ed0e3bcdce38b;hp=221ff0cadfc41add3833a4205ac28a21265e8fad;hpb=6c42153ad9362cc676ea66563bf400d7511b3b68;p=mmh diff --git a/sbr/m_atoi.c b/sbr/m_atoi.c index 221ff0c..174c407 100644 --- a/sbr/m_atoi.c +++ b/sbr/m_atoi.c @@ -4,8 +4,6 @@ * -- return the numeric value of the message. If the string * -- 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. @@ -18,7 +16,7 @@ int m_atoi (char *str) { int i; - char *cp; + unsigned char *cp; for (i = 0, cp = str; *cp; cp++) { #ifdef LOCALE