summaryrefslogtreecommitdiff
path: root/games/asc/files/patch-source::building.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/asc/files/patch-source::building.cpp')
-rw-r--r--games/asc/files/patch-source::building.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/games/asc/files/patch-source::building.cpp b/games/asc/files/patch-source::building.cpp
new file mode 100644
index 000000000000..625d1a2da051
--- /dev/null
+++ b/games/asc/files/patch-source::building.cpp
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- source/building.cpp 2002/10/18 13:03:04 1.1
++++ source/building.cpp 2002/10/18 13:03:22
+@@ -1022,7 +1022,7 @@
+
+ int getstepwidth ( int max )
+ {
+- double ep = log10 ( max );
++ double ep = log10 ( (double)max );
+ if ( ep > 2.0 )
+ ep -= 2.0;
+ else