Source-Changes archive

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

CVS commit: src/lib/libc/string



Module Name:    src
Committed By:   apb
Date:           Sun Apr 18 10:51:34 UTC 2010

Modified Files:
        src/lib/libc/string: swab.c

Log Message:
Bitwise operations on signed types are well-defined if the values
happen to be positive, and indeed the values here were guaranteed
to be positive, but some compilers complained anyway, so convert
the bitwise operations to arithmetic operations.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/lib/libc/string/swab.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