Changeset: e0d218543d21 for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e0d218543d21 Modified Files: buildtools/burg/lex.c Branch: Mar2011 Log Message:
buildtools/burg/lex.c(216): remark #2259: non-pointer conversion from "int" to "char" may lose significant bits http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39245:124139f4ff4a/Int-Fedora-i386-propcheck/make.html#l372 http://monetdb.cwi.nl/testing/projects/monetdb/testweb/logs/39245:124139f4ff4a/Int-Fedora-i386-propcheck/make.html#l376 diffs (21 lines): diff --git a/buildtools/burg/lex.c b/buildtools/burg/lex.c --- a/buildtools/burg/lex.c +++ b/buildtools/burg/lex.c @@ -213,7 +213,7 @@ yyerror("ID too long"); return(brgERROR); } else { - *ptr++ = ch; + *ptr++ = (char)ch; } ch = getchar(); } while (isalpha(ch) || isdigit(ch) || ch == '_'); @@ -235,7 +235,7 @@ yyerror("ID too long"); return(brgERROR); } else { - *ptr++ = ch; + *ptr++ = (char)ch; } ch = getchar(); } while (isalpha(ch) || isdigit(ch) || ch == '_'); _______________________________________________ Checkin-list mailing list [email protected] http://mail.monetdb.org/mailman/listinfo/checkin-list
