Minor warning fix patch for tools/re2c/dfa.c

Peter Kasting pkasting at google.com
Fri Nov 14 13:56:07 PST 2014


Hi YASM devs,

I'm a Chromium developer trying to enable more MSVC warnings in our build.
Along the way I ran into a minor warning of "possible value truncation" in
our local copy of YASM.  Attached is a patch that silences the warning via
an explicit cast.  (This assumes the existing code is functionally correct,
which I'm not qualified to judge.)  If someone could merge this, or direct
me in any steps I should take to get this merged, I'd greatly appreciate it.

Thanks,
PK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cvs.tortall.net/pipermail/yasm-devel/attachments/20141114/d5f9404e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 800 bytes
Desc: not available
URL: <http://cvs.tortall.net/pipermail/yasm-devel/attachments/20141114/d5f9404e/attachment.obj>


More information about the yasm-devel mailing list