From 2492b561385859b7ef76fe816a8dc845f0b9bd09 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Feb 2016 01:53:51 +0300 Subject: Fix some casts between signed and unsigned in some files. --- src/gui/widgets/window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/window.h') diff --git a/src/gui/widgets/window.h b/src/gui/widgets/window.h index 277e971bb..22378b59a 100644 --- a/src/gui/widgets/window.h +++ b/src/gui/widgets/window.h @@ -481,7 +481,7 @@ class Window notfinal : public BasicContainer2, * @param padding The padding of the window. * @see getPadding */ - void setPadding(unsigned int padding) + void setPadding(int padding) { mPadding = padding; } /** @@ -491,7 +491,7 @@ class Window notfinal : public BasicContainer2, * @return The padding of the window. * @see setPadding */ - unsigned int getPadding() const + int getPadding() const { return mPadding; } /** @@ -605,7 +605,7 @@ class Window notfinal : public BasicContainer2, /** * Holds the padding of the window. */ - unsigned int mPadding; + int mPadding; /** * Holds the title bar height of the window. -- cgit v1.2.3-70-g09d2