changeset 572:d3faa6447c5b

...
author Chris Cannam
date Fri, 13 Mar 2009 11:06:11 +0000
parents dfc4dd561bb6
children bdc9bb371a9f
files data/model/WaveFileModel.cpp system/System.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/model/WaveFileModel.cpp	Fri Feb 27 15:58:02 2009 +0000
+++ b/data/model/WaveFileModel.cpp	Fri Mar 13 11:06:11 2009 +0000
@@ -25,7 +25,7 @@
 
 #include <iostream>
 #include <unistd.h>
-#include <math.h>
+#include <cmath>
 #include <sndfile.h>
 
 #include <cassert>
--- a/system/System.cpp	Fri Feb 27 15:58:02 2009 +0000
+++ b/system/System.cpp	Fri Mar 13 11:06:11 2009 +0000
@@ -69,6 +69,7 @@
     ::GetSystemTimeAsFileTime(&now.ft); 
     tv->tv_usec = (long)((now.ns100 / 10LL) % 1000000LL); 
     tv->tv_sec = (long)((now.ns100 - 116444736000000000LL) / 10000000LL); 
+    return 0;
 }
 
 }