So, this one is actually a bit tricky.

The array in question is declared as t210/codes.h:

 static const char STR_END[]={-1,'\0'};

which is used in t210/scp-decode.cpp:2535, for example:

 strcat(temp_string,STR_END);

Hence, STR_END is used as a string constant and therefore declaring
STR_END as signed char will not work. I'm not sure what the reasoning
behind this particular way of terminating the string is as opposed to
the regular null terminator, but it might part of the internal data
format. It's probably therefore advisable to discuss this issue with
upstream.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to