Dimitry Andric 866616de6e Fix warnings in telnet about invalid constant conversions, e.g.:
contrib/telnet/telnet/commands.c:2914:13: error: implicit conversion
from 'int' to 'char' changes value from 137 to -119
[-Werror,-Wconstant-conversion]
                *lsrp++ = IPOPT_SSRR;
                        ~ ^~~~~~~~~~
/usr/include/netinet/ip.h:152:21: note: expanded from macro 'IPOPT_SSRR'
#define IPOPT_SSRR              137             /* strict source route */
                                ^~~
contrib/telnet/telnet/commands.c:2916:13: error: implicit conversion
from 'int' to 'char' changes value from 131 to -125
[-Werror,-Wconstant-conversion]
                *lsrp++ = IPOPT_LSRR;
                        ~ ^~~~~~~~~~
/usr/include/netinet/ip.h:148:21: note: expanded from macro 'IPOPT_LSRR'
#define IPOPT_LSRR              131             /* loose source route */
                                ^~~

Use unsigned char buffers instead.

MFC after:	1 week
2016-08-30 20:27:22 +00:00
..
2015-08-09 05:14:25 +00:00
2016-03-25 22:32:26 +00:00
2016-07-01 05:48:45 +00:00
2016-06-27 01:29:17 +00:00
2016-04-20 17:58:13 +00:00
2016-06-09 06:10:20 +00:00
2016-01-05 05:25:16 +00:00
2016-08-29 06:54:38 +00:00
2016-07-30 01:16:06 +00:00
2016-08-03 20:21:58 +00:00
2016-06-05 11:56:03 +00:00
2016-07-03 01:35:27 +00:00
2016-07-23 11:55:15 +00:00
2016-08-29 22:38:18 +00:00
2015-09-27 07:04:16 +00:00
2016-06-03 08:00:22 +00:00
2016-07-20 03:52:04 +00:00
2016-08-24 12:32:24 +00:00
2015-10-08 11:42:15 +00:00
2015-11-12 03:25:04 +00:00
2015-11-21 09:09:25 +00:00