Files
xen/tools
Juergen Gross 45a348ebab libxl: use llabs() instead abs() for int64_t argument
Commit 57f8b13c72 ("libxl: memory size
in kb requires 64 bit variable") introduced a bug: abs() shouldn't
be called with an int64_t argument. llabs() is to be used here.

Caught by clang build with error message:

libxl.c:4198:33: error: absolute value function 'abs' given an argument
of type
    'int64_t' (aka 'long') but has parameter of type 'int' which may cause
    truncation of value [-Werror,-Wabsolute-value]
    if (target_memkb < 0 && abs(target_memkb) > current_target_memkb)

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
2016-08-03 10:46:58 +01:00
..
2016-07-20 16:07:10 +01:00
2016-07-20 16:08:28 +01:00
2016-04-27 14:14:33 +01:00
2016-02-11 15:12:18 +00:00
2016-07-20 16:08:14 +01:00
2016-06-17 11:27:21 +01:00
2016-06-09 12:10:00 +01:00