Author: {wf}shadowspawn <shadowspawn_at_shadowspawn_dot_net>     Reply to Message
Date: 2/13/2004 2:46:21 PM
Subject: RE: Hard errors

warning: compairson is always false due to limited range of data type.

(bolded line is the warning, note that it still works)

void fixline(char *str)
{
int i = 0;
while (str[i] !=0)
{
if (str[i] >=128)
str[i] = 0;
(lots of other stuff)
i++;
}
}

  


_