Prechádzať zdrojové kódy

clear compiler warnings

richarddobson 3 mesiacov pred
rodič
commit
7f50e747d5
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      dev/modify/gain.c

+ 1 - 1
dev/modify/gain.c

@@ -150,7 +150,7 @@ int gain_process(dataptr dz)
         }
         }
     }
     }
     if(clipsamps && (numclipped > 0))
     if(clipsamps && (numclipped > 0))
-        sprintf(errstr, "WARNING: %ld samples were clipped.\n", numclipped);
+        sprintf(errstr, "WARNING: %d samples were clipped.\n", numclipped);
     dz->peak_fval = peakval;
     dz->peak_fval = peakval;
     /*will get written to header automatically*/
     /*will get written to header automatically*/
     return(FINISHED);
     return(FINISHED);