Michal Privoznik b7caf4fcd2 virConfGetValueSSizeT: Fix build on 32 bits
This function tries to get a ssize_t value from a config file.
But before returning it, it checks whether the value would fit in
ssize_t and if not an error is printed out among with the range
for the ssize_t type. However, on some platforms SSIZE_MAX may
actually be a signed long type:

util/virconf.c: In function 'virConfGetValueSSizeT':
util/virconf.c:1268:9: error: format '%zd' expects argument of type 'signed size_t', but argument 9 has type 'long int' [-Werror=format=]
         virReportError(VIR_ERR_INTERNAL_ERROR,
         ^
$ grep -r SSIZE_MAX /usr/include/
/usr/include/bits/posix1_lim.h:#ifndef  SSIZE_MAX
/usr/include/bits/posix1_lim.h:# define SSIZE_MAX       LONG_MAX

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
2016-07-15 05:58:42 +02:00
..
2016-06-16 06:17:58 -04:00
2016-06-20 12:09:52 +02:00
2016-06-24 14:20:57 +02:00
2016-02-11 11:35:02 +01:00
2016-02-11 11:35:02 +01:00
2015-07-10 11:47:13 +02:00
2016-06-16 13:09:19 -04:00
2016-06-24 14:20:57 +02:00
2016-06-24 14:20:57 +02:00
2016-02-11 11:35:02 +01:00
2016-04-20 12:46:48 +02:00
2016-05-19 15:17:03 -04:00
2014-10-22 13:09:49 +01:00
2016-03-18 09:43:45 +01:00
2015-04-02 16:05:32 +02:00
2015-04-15 16:43:28 +02:00
2016-06-24 14:20:57 +02:00
2014-12-16 11:15:27 +01:00
2016-06-24 14:20:57 +02:00
2016-06-03 10:52:16 +02:00
2015-03-13 15:31:33 +01:00
2016-06-24 14:20:57 +02:00
2016-04-06 20:27:09 -04:00
2016-06-24 14:20:57 +02:00
2016-02-05 16:11:50 +01:00
2015-03-25 10:00:53 +01:00
2016-05-28 13:49:14 +02:00
2016-06-24 14:20:57 +02:00
2016-06-24 14:20:57 +02:00