From c7b36220bbe54103199b4fb36142762f861a03b6 Mon Sep 17 00:00:00 2001 From: shadow303 Date: Wed, 30 Apr 2003 00:34:40 +0000 Subject: [PATCH] Fix ROUND macro git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3127 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/server/DisplayDriver.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/app/server/DisplayDriver.h b/src/servers/app/server/DisplayDriver.h index 98962edbec..cb8518dc39 100644 --- a/src/servers/app/server/DisplayDriver.h +++ b/src/servers/app/server/DisplayDriver.h @@ -42,7 +42,7 @@ class ServerBitmap; class LayerData; #ifndef ROUND - #define ROUND(a) ( (a-long(a))>=.5)?(long(a)+1):(long(a)) + #define ROUND(a) ( (long)(a+.5) ) #endif /*!