[patch] Fixes for kdelibs on win32/msvc

Jaroslaw Staniek js at iidea.pl
Tue Jul 10 18:15:51 BST 2007


Matthew Woehlke said the following, On 2007-07-10 16:45:
> 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);

No reason, thats equivalent, if you like this.

-- 
regards / pozdrawiam, Jaroslaw Staniek
  Sponsored by OpenOffice Polska (http://www.openoffice.com.pl/en) to work on
  Kexi & KOffice: http://www.kexi.pl/en, http://www.koffice.org
  KDE3 & KDE4 Libraries for MS Windows: http://kdelibs.com, http://www.kde.org





More information about the kde-core-devel mailing list