
27 Mar
2008
27 Mar
'08
10:37 a.m.
On Thu, Mar 27, 2008 at 09:43:08AM +0100, Anders Broman wrote:
Index: smixlate.c
--- smixlate.c (revision 7960) +++ smixlate.c (working copy) @@ -69,7 +69,8 @@
static void process(FILE *stream) {
- int c, space = 0;
- char c;
enum { TXT, NUM, NUMDOT, NUMDOTNUM, OID, OIDDOT, EATSPACE } state =int space = 0;
TXT; dstring_t *token, *subst;
Regards Anders
Which warning is this supposed to fix?
Note that fgetc() and isascii() and friends actually do return/accpet an int and changing the int to a char might not be the right thing on all platforms...
My gcc (GCC) 4.1.2 -Wall does actually not generate warnings on smixlate.c.
/js
--
Juergen Schoenwaelder Jacobs University Bremen gGmbH
Phone: +49 421 200 3587 Campus Ring 1, 28759 Bremen, Germany
Fax: +49 421 200 3103 http://www.jacobs-university.de/