summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mico-dump.c2
-rw-r--r--mico-store.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/mico-dump.c b/mico-dump.c
index 8bf12e4..982c1b4 100644
--- a/mico-dump.c
+++ b/mico-dump.c
@@ -108,7 +108,7 @@ main()
 			t += td;
 			v += vd;
 
-			printf("%s %f %ld\n", name, v/10.0, t);
+			printf("%s %f %ld\n", name, v/10000.0, t);
 		}
 	}
 }
diff --git a/mico-store.c b/mico-store.c
index 38e4b7e..6fe025a 100644
--- a/mico-store.c
+++ b/mico-store.c
@@ -187,7 +187,7 @@ main()
 			}
 
 			put1(&ts, (t - pt) - (pt - ppt));
-			put1(&vs, (int32_t)((v - pv) * 10));
+			put1(&vs, (int32_t)((v - pv) * 10000));
 
 			ppt = pt;
 			pt = t;