From c2efedab22275302f0a10cc197424d345a021d18 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Jun 2012 20:13:48 +0300 Subject: Replace SDL int types to C++ types. --- src/resources/subimage.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/resources/subimage.cpp') diff --git a/src/resources/subimage.cpp b/src/resources/subimage.cpp index 895bdc9a7..bc9b0794f 100644 --- a/src/resources/subimage.cpp +++ b/src/resources/subimage.cpp @@ -57,8 +57,8 @@ SubImage::SubImage(Image *parent, SDL_Surface *image, // Set up the rectangle. mBounds.x = static_cast(x); mBounds.y = static_cast(y); - mBounds.w = static_cast(width); - mBounds.h = static_cast(height); + mBounds.w = static_cast(width); + mBounds.h = static_cast(height); if (mParent) { mInternalBounds.x = mParent->mBounds.x; @@ -89,8 +89,8 @@ SubImage::SubImage(Image *parent, GLuint image, // Set up the rectangle. mBounds.x = static_cast(x); mBounds.y = static_cast(y); - mBounds.w = static_cast(width); - mBounds.h = static_cast(height); + mBounds.w = static_cast(width); + mBounds.h = static_cast(height); if (mParent) { mInternalBounds.x = mParent->mBounds.x; -- cgit v1.2.3-70-g09d2