[patch] Fixes for kdelibs on win32/msvc

Matthew Woehlke mw_triad at users.sourceforge.net
Tue Jul 10 15:45:14 BST 2007


Jaros³aw Staniek wrote:
> RFC. This patch is against trunk from the last weekend, so I'll update 
> it before commiting.

Any particular reason for:
> -const float INCHESPERMETER = (100.0 / 2.54);
> +const float INCHESPERMETER = float(100.0 / 2.54);

...instead of:
-const float INCHESPERMETER = (100.0 / 2.54);
+const float INCHESPERMETER = (100.0f / 2.54f);

?

-- 
Matthew
"What is a release plan, anyway?" -- Oswald Buddenhagen
   ...who I'm sure did not mean it seriously ;-)





More information about the kde-core-devel mailing list