Clean up compiler warnings.

Better definition of "red()" for waterfall plot.


git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@2729 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor
2012-11-14 17:02:54 +00:00
parent 3285497494
commit 6012a0c7a0
10 changed files with 15 additions and 80 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ void getfile(QString fname, int ntrperiod)
if(fp != NULL) {
// Read (and ignore) a 44-byte WAV header; then read data
fread(jt9com_.d2,1,44,fp);
int nrd=fread(jt9com_.d2,2,npts,fp);
fread(jt9com_.d2,2,npts,fp);
fclose(fp);
jt9com_.newdat=1;
}