Browse Source

clear compiler warnings

richarddobson 3 months ago
parent
commit
7f50e747d5
1 changed files with 1 additions and 1 deletions
  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))
-        sprintf(errstr, "WARNING: %ld samples were clipped.\n", numclipped);
+        sprintf(errstr, "WARNING: %d samples were clipped.\n", numclipped);
     dz->peak_fval = peakval;
     /*will get written to header automatically*/
     return(FINISHED);