summaryrefslogtreecommitdiff
path: root/st.1
diff options
context:
space:
mode:
authorRoberto E. Vargas Caballero2014-08-15 14:48:16 +0200
committerRoberto E. Vargas Caballero2014-08-15 14:48:16 +0200
commit6530025bcaf3a65083667a93ae50035bd7137bae (patch)
treef0cef72fd0b335c8f36939aac3c03b812c668975 /st.1
parentd4a17316d33f3c5a0017d7fe6e7e174883ccaa97 (diff)
downloadst-6530025bcaf3a65083667a93ae50035bd7137bae.tar.gz
st-6530025bcaf3a65083667a93ae50035bd7137bae.tar.xz
st-6530025bcaf3a65083667a93ae50035bd7137bae.zip
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 'st.1')
0 files changed, 0 insertions, 0 deletions