projects
/
synfig.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Initialise last_time before using it for the first time.
[synfig.git]
/
ETL
/
trunk
/
test
/
fixed.cpp
diff --git
a/ETL/trunk/test/fixed.cpp
b/ETL/trunk/test/fixed.cpp
index
fbdac51
..
030b5c7
100644
(file)
--- a/
ETL/trunk/test/fixed.cpp
+++ b/
ETL/trunk/test/fixed.cpp
@@
-100,7
+100,7
@@
struct speed_test
a=value_type(0.25);
b=value_type(2);
c=value_type(4.5);
a=value_type(0.25);
b=value_type(2);
c=value_type(4.5);
- const value_type half(
0.5
);
+ const value_type half(
static_cast<value_type>(0.5)
);
int i;
etl::clock MyTimer;
MyTimer.reset();
int i;
etl::clock MyTimer;
MyTimer.reset();