Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/usr.sbin/videomode



Module Name:    src
Committed By:   he
Date:           Sat Jan 17 22:01:32 UTC 2009

Modified Files:
        src/usr.sbin/videomode: videomode.c

Log Message:
Avoid casting an uisigned to a signed value, thereby invoking formally
undefined behaviour.  Instead go via u_int and print with %u.


To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 src/usr.sbin/videomode/videomode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index