# HG changeset patch # User John W. Eaton # Date 1361632136 18000 # Node ID def3b111cff86966b6d278fa8af3777685c49ed1 # Parent 1785493171ac416b918b7029975f9acb9121adad avoid gcc warning about int to char conversion * sysdep.cc (Fkbhit): Explicitly cast int to char. diff -r 1785493171ac -r def3b111cff8 libinterp/interpfcn/sysdep.cc --- a/libinterp/interpfcn/sysdep.cc Fri Feb 22 19:01:10 2013 -0500 +++ b/libinterp/interpfcn/sysdep.cc Sat Feb 23 10:08:56 2013 -0500 @@ -655,7 +655,7 @@ if (c == -1) c = 0; - char s[2] = {c, '\0'}; + char s[2] = { static_cast (c), '\0' }; retval = s; }