------- Comment #4 from manu at gcc dot gnu dot org 2010-02-24 14:29 ------- I am really sorry, I don't think we want to add an option for this particular case. As Joseph explained, there is a difference if the variables are mismatched signed/unsigned or not.
For your problem, you could use a wrapper around read() that does the cast. Sorry, but this is not worth the overhead. Closing as WONTFIX. -- manu at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |manu at gcc dot gnu dot org Status|NEW |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38046