Simon Tatham
99f5fa34ab
uxucs.c: fix type of wcrtomb return value.
...
wcrtomb returns a size_t, so it's silly to immediately assign it into
an int variable. Apparently running gcc with LTO enabled points this
out as an error.
This was benign as far as I can see: the obvious risk of integer
overflow could only happen if the OS wanted to convert a single wide
character into more than 2^31 bytes, and the test of the return value
against (size_t)-1 for an error check seems to work anyway in
practice, although I suspect that's only because of implementation-
defined behaviour in gcc at the point where the size_t is narrowed to
a signed int.
2020-05-16 16:24:53 +01:00
..
2014-02-22 18:01:32 +00:00
2018-11-03 13:47:29 +00:00
2019-12-24 13:47:46 +00:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-11-02 08:26:14 +00:00
2020-02-16 11:26:21 +00:00
2020-04-05 11:20:25 +01:00
2020-03-10 21:06:29 +00:00
2020-03-13 22:48:53 +00:00
2018-11-03 13:45:00 +00:00
2018-11-03 13:45:00 +00:00
2020-04-18 13:33:51 +01:00
2017-12-20 10:04:02 +00:00
2019-03-31 10:35:10 +01:00
2017-11-26 11:45:48 +00:00
2019-09-08 20:29:21 +01:00
2017-11-26 11:45:48 +00:00
2019-09-08 20:29:21 +01:00
2020-02-07 19:14:32 +00:00
2019-10-14 19:42:37 +01:00
2020-01-27 19:40:50 +00:00
2018-10-21 10:16:16 +01:00
2020-03-10 21:27:57 +00:00
2020-02-07 19:14:32 +00:00
2020-01-30 06:40:21 +00:00
2020-03-10 21:11:14 +00:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2019-09-08 20:29:21 +01:00
2020-03-10 21:06:29 +00:00
2017-02-15 19:32:42 +00:00
2019-09-08 20:29:21 +01:00
2018-11-03 13:45:00 +00:00
2020-03-10 21:06:29 +00:00
2020-04-18 13:33:51 +01:00
2020-02-06 23:52:19 +00:00
2019-09-08 20:29:21 +01:00
2020-02-07 19:17:45 +00:00
2020-03-10 21:06:29 +00:00
2020-02-02 10:02:10 +00:00
2020-05-02 16:32:56 +01:00
2020-02-02 10:02:10 +00:00
2019-09-08 20:29:21 +01:00
2020-04-18 13:33:51 +01:00
2020-03-10 21:06:29 +00:00
2020-02-07 19:14:32 +00:00
2020-03-10 21:06:29 +00:00
2019-10-14 19:42:37 +01:00
2019-09-08 20:29:21 +01:00
2020-02-23 16:36:27 +00:00
2020-01-21 20:24:04 +00:00
2020-05-16 16:24:53 +01:00
2019-03-26 19:19:28 +00:00
2020-01-29 06:44:18 +00:00
2018-05-09 09:21:27 +01:00
2019-09-08 20:29:21 +01:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00
2007-01-07 10:17:12 +00:00