From d28dc0ce83e2ea96cc35ce8e5c1af7241c63629b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 11 Nov 2005 12:19:30 +0000 Subject: [PATCH] This fixes the build for the libbe_test target - there is no stdint.h in BeOS (and it shouldn't matter a lot in this case, anyway). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14850 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Bitmap.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kits/interface/Bitmap.cpp b/src/kits/interface/Bitmap.cpp index 0d73ad729b..b76112d233 100644 --- a/src/kits/interface/Bitmap.cpp +++ b/src/kits/interface/Bitmap.cpp @@ -15,7 +15,6 @@ #include #include #include -#include #include #include @@ -2195,7 +2194,7 @@ BBitmap::InitObject(BRect bounds, color_space colorSpace, uint32 flags, // bounds is in floats and might be valid but much larger than what we can handle // the size could not be expressed in int32 double realSize = bounds.Width() * bounds.Height(); - if (realSize > (double)(INT32_MAX / 4)) { + if (realSize > (double)(INT_MAX / 4)) { fprintf(stderr, "bitmap bounds is much too large: BRect(%.1f, %.1f, %.1f, %.1f)\n", bounds.left, bounds.top, bounds.right, bounds.bottom); error = B_BAD_VALUE;