diff options
author | Brad King <brad.king@kitware.com> | 2009-02-17 16:53:57 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-02-17 16:53:57 (GMT) |
commit | ab629e28f334071784b6009a046b3be441f39349 (patch) | |
tree | c87d42c4e6b29d931d6cc3c9caa1a0ded317d885 /Modules/Platform/Darwin.cmake | |
parent | 57a1d0093e68d766641ec2824c2dcf7f27a8c296 (diff) | |
download | CMake-ab629e28f334071784b6009a046b3be441f39349.zip CMake-ab629e28f334071784b6009a046b3be441f39349.tar.gz CMake-ab629e28f334071784b6009a046b3be441f39349.tar.bz2 |
BUG: Do not use 'char' type as array subscript
This converts uses of 'char' as an array subscript to 'unsigned char' to
heed the warning from gcc. The subscript must be an unsigned type to
avoid indexing before the beginning of the array. This change avoids a
potential crash if input text contains a byte value beyond 0x7f.
Diffstat (limited to 'Modules/Platform/Darwin.cmake')
0 files changed, 0 insertions, 0 deletions