summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2009-09-18 05:38:50 +0200
committerMichael Brown2012-07-09 16:41:29 +0200
commit89e0cfc2b1cebea1303731546a500b6025f6ea94 (patch)
tree70296d016cb678fa622f924cf0627efb2b52a733
parent[import] Import version 1.55 (diff)
downloadmemtest86-89e0cfc2b1cebea1303731546a500b6025f6ea94.tar.gz
memtest86-89e0cfc2b1cebea1303731546a500b6025f6ea94.tar.xz
memtest86-89e0cfc2b1cebea1303731546a500b6025f6ea94.zip
[import] Import version 1.55.1
http://www.memtest.org/download/1.55.1/memtest86+-1.55.1.tar.gz
-rw-r--r--controller.c8
-rw-r--r--precomp.binbin99720 -> 99720 bytes
2 files changed, 4 insertions, 4 deletions
diff --git a/controller.c b/controller.c
index 9be85dc..c17cef7 100644
--- a/controller.c
+++ b/controller.c
@@ -1017,16 +1017,16 @@ static void poll_fsb_amd64(void) {
clockratio = (int)(coef * 2.0f);
break;
case 0x2:
- clockratio = (int)(coef * 3.0f/2.0f) + 0.81f;
+ clockratio = (int)((coef * 3.0f/2.0f) + 0.81f);
break;
case 0x4:
- clockratio = (int)(coef * 4.0f/3.0f) + 0.81f;
+ clockratio = (int)((coef * 4.0f/3.0f) + 0.81f);
break;
case 0x5:
- clockratio = (int)(coef * 6.0f/5.0f) + 0.81f;
+ clockratio = (int)((coef * 6.0f/5.0f) + 0.81f);
break;
case 0x6:
- clockratio = (int)(coef * 10.0f/9.0f) + 0.81f;
+ clockratio = (int)((coef * 10.0f/9.0f) + 0.81f);
break;
case 0x7:
clockratio = (int)(coef + 0.81f);
diff --git a/precomp.bin b/precomp.bin
index ff43f62..2cff4c5 100644
--- a/precomp.bin
+++ b/precomp.bin
Binary files differ