diff options
author | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-15 14:48:16 +0200 |
---|---|---|
committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2014-08-15 14:48:16 +0200 |
commit | 6530025bcaf3a65083667a93ae50035bd7137bae (patch) | |
tree | f0cef72fd0b335c8f36939aac3c03b812c668975 /%2525252525253fid%2525252525253d8f3e6a577d0d9733d356c0b691fea7b523d8ade7%25252525253fid%25252525253d8f3e6a577d0d9733d356c0b691fea7b523d8ade7%252525253fid%252525253df8b4998b32cbabe2090dc8027720203d6cd2d24d%2525253fid%2525253d6530025bcaf3a65083667a93ae50035bd7137bae%25253fid%25253d6530025bcaf3a65083667a93ae50035bd7137bae&id2%25253dd4a17316d33f3c5a0017d7fe6e7e174883ccaa97%253fid%253d6530025bcaf3a65083667a93ae50035bd7137bae%3fid%3d6530025bcaf3a65083667a93ae50035bd7137bae?id=6530025bcaf3a65083667a93ae50035bd7137bae | |
parent | d4a17316d33f3c5a0017d7fe6e7e174883ccaa97 (diff) |
Fix portability problem in techo()
ISCONTROL chechks if a value is between 0 and 0x1f or
between 0x80 and 0x9f. Char signess depends of architecture
and compiler, so in some environment the second case is
always false (and wrong), Techo() calls ISCONTROL with a
char variable, whose type cannot be changed because tpuc()
expects a pointer to char, so the solution is to insert a
cast in the call to ISCONTROL.
Diffstat (limited to '%2525252525253fid%2525252525253d8f3e6a577d0d9733d356c0b691fea7b523d8ade7%25252525253fid%25252525253d8f3e6a577d0d9733d356c0b691fea7b523d8ade7%252525253fid%252525253df8b4998b32cbabe2090dc8027720203d6cd2d24d%2525253fid%2525253d6530025bcaf3a65083667a93ae50035bd7137bae%25253fid%25253d6530025bcaf3a65083667a93ae50035bd7137bae&id2%25253dd4a17316d33f3c5a0017d7fe6e7e174883ccaa97%253fid%253d6530025bcaf3a65083667a93ae50035bd7137bae%3fid%3d6530025bcaf3a65083667a93ae50035bd7137bae?id=6530025bcaf3a65083667a93ae50035bd7137bae')
0 files changed, 0 insertions, 0 deletions