summaryrefslogtreecommitdiff
path: root/src/core/geometry_type.hpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-06-27 20:53:45 +0000
committeralberth <alberth@openttd.org>2009-06-27 20:53:45 +0000
commit9b070b5405d11c74d89a747e912e627e39850f7c (patch)
tree5143dbacaa7e860b2253b091bd195f4e2d287efc /src/core/geometry_type.hpp
parent812ad41f23b7ed52a161ed15b15a2af3a7edb41f (diff)
downloadopenttd-9b070b5405d11c74d89a747e912e627e39850f7c.tar.xz
(svn r16677) -Codechange: Dimension width and height are unsigned.
Diffstat (limited to 'src/core/geometry_type.hpp')
-rw-r--r--src/core/geometry_type.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/geometry_type.hpp b/src/core/geometry_type.hpp
index 6258ffd1d..db8083538 100644
--- a/src/core/geometry_type.hpp
+++ b/src/core/geometry_type.hpp
@@ -25,8 +25,8 @@ struct Point {
/** Dimensions (a width and height) of a rectangle in 2D */
struct Dimension {
- int width;
- int height;
+ uint width;
+ uint height;
};
/** Specification of a rectangle with absolute coordinates of all edges */