Changeset 4929


Ignore:
Timestamp:
07/19/12 10:19:47 (6 years ago)
Author:
paulf
Message:

cleaned up several warnings in gma.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libsrc/util/gma.c

    r1346 r4929  
    2727#include <transfer.h> 
    2828#include <gma.h> 
     29#include <earthworm.h> 
    2930 
    3031#define MAXLINE 80 
     
    242243 
    243244  /* Transform the padded data into frequency domain */ 
    244   fft991(acc, workFFT, pfact->trigs, pfact->ifax, 1, nfft, nfft, 1, -1); 
     245  fft991(acc, workFFT, pfact->trigs, pfact->ifax, (long) 1, nfft, nfft, (long) 1, (long) -1); 
    245246 
    246247  /* Fill in all the transfer functions */ 
     
    318319 
    319320  /* Transform the whole output array back to time domain */ 
    320   fft991(output, workFFT, pfact->trigs, pfact->ifax, 1, outBufLen, nfft,  
    321          3 + isd * isp, +1); 
     321  fft991(output, workFFT, pfact->trigs, pfact->ifax, (long) 1, outBufLen, nfft,  
     322        (long) (3 + isd * isp), (long) +1); 
    322323 
    323324  /* We're done! Give the data back to the caller */ 
Note: See TracChangeset for help on using the changeset viewer.