summaryrefslogtreecommitdiff
path: root/lib/rendercopy.h
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2019-12-08 18:57:00 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2020-01-16 21:06:38 +0200
commit1b2816124ec3dbd53b81725d39292f45d41d895b (patch)
treeff5f46268a355e30b660b6a5762b94056eb54cf8 /lib/rendercopy.h
parente29c30f5952e9d7cf87cc018b686d8421dd58629 (diff)
tools/intel_panel_fitter: Fix abs(unsigned)
../tools/intel_panel_fitter.c: In function ‘change_screen_size’: ../tools/intel_panel_fitter.c:183:10: warning: taking the absolute value of unsigned type ‘uint32_t’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 183 | pos_x = abs((info.tot_width - dst_width)) / 2; | ^~~ ../tools/intel_panel_fitter.c:184:10: warning: taking the absolute value of unsigned type ‘uint32_t’ {aka ‘unsigned int’} has no effect [-Wabsolute-value] 184 | pos_y = abs((info.tot_height - dst_height)) / 2; | ^~~ Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/rendercopy.h')
0 files changed, 0 insertions, 0 deletions