Richard W.M. Jones
ccdbbc7fe4
Fix various -Wformat problems.
...
Updating gnulib has caused -Wformat-signedness to be enabled. This
has revealed many problems in C format strings. The fixes here fall
into the following main categories:
- Using %d with an unsigned parameter.
- %x and %o expect an unsigned argument.
- uid_t and gid_t are unsigned on Linux. The safe way to print these
is to cast them to uintmax_t and then print them using the %ju
modifier (see http://stackoverflow.com/a/1401581 ).
- Using %d to print an enum. Since enums may be either char or int,
I fixed this by casting the enum to int.
- strtol_error & lzma_ret are both unsigned types.
2015-07-02 16:08:44 +01:00
..
2015-07-02 16:08:44 +01:00
2014-12-02 08:37:46 +00:00
2015-02-14 18:46:04 +00:00
2015-02-02 18:44:52 +00:00
2015-02-14 18:46:04 +00:00
2015-01-17 09:08:15 +00:00
2013-12-18 15:15:53 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-06-18 10:19:41 +01:00
2013-04-02 12:38:50 +01:00
2015-02-14 18:46:04 +00:00
2015-06-15 15:42:46 +01:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-02-14 18:46:04 +00:00
2013-02-11 13:21:51 +00:00
2015-01-17 09:08:15 +00:00
2013-10-17 15:23:40 +01:00
2015-06-15 15:42:46 +01:00
2015-01-17 09:08:15 +00:00
2015-02-14 18:46:04 +00:00
2015-01-17 09:08:15 +00:00
2015-06-18 10:19:41 +01:00
2015-04-20 15:38:32 +02:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2013-02-08 16:15:25 +00:00
2012-01-18 22:05:02 +00:00
2015-07-02 16:08:44 +01:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-20 17:32:18 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2015-01-17 09:08:15 +00:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2014-09-17 17:31:50 +01:00
2015-01-17 09:08:15 +00:00
2015-01-17 09:08:15 +00:00
2015-02-14 18:46:04 +00:00
2014-05-07 15:06:51 +02:00
2015-03-23 12:24:59 +00:00
2015-06-15 15:42:46 +01:00
2015-03-23 12:24:59 +00:00
2014-03-20 13:47:19 +00:00
2015-03-23 12:24:59 +00:00
2014-03-20 13:47:19 +00:00
2015-03-23 12:24:59 +00:00
2014-03-20 13:47:19 +00:00
2015-02-14 18:46:04 +00:00
2015-01-17 09:08:15 +00:00