[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: KSpread HEAD gcc 3.2 compile fix (simple)
From: Morten =?iso-8859-1?q?Bj=F8rn?= <mobj () tdcspace ! dk>
Date: 2002-10-29 18:50:11
[Download RAW message or body]
Just in some of you have the same problem...
--
best regards
Morten
["koffice.gcc32.diff" (text/x-diff)]
--- /usr/portage/distfiles/cvs-src/kde/koffice/kspread/kspread_functions_financial.cc 2002-10-20 \
08:19:35.000000000 +0000
+++ kspread_functions_financial.cc 2002-10-29 17:42:25.000000000 +0000
@@ -573,7 +573,7 @@
double fl = floor( d );
double r = d - fl;
- context.setValue( new KSValue( fl + ( r * pow( 10, n ) / (double) f ) ) );
+ context.setValue( new KSValue( fl + ( r * pow( 10.0, n ) / (double) f ) ) );
return true;
}
@@ -608,7 +608,7 @@
double fl = floor( d );
double r = d - fl;
- context.setValue( new KSValue( fl + ( ( r * (double) f ) / pow( 10, n ) ) ) );
+ context.setValue( new KSValue( fl + ( ( r * (double) f ) / pow( 10.0, n ) ) ) );
return true;
}
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic