]> Creatis software - gdcm.git/commitdiff
COMP: why the heck did they used 'lf' for printing a double ?
authormalaterre <malaterre>
Fri, 10 Jun 2005 14:02:29 +0000 (14:02 +0000)
committermalaterre <malaterre>
Fri, 10 Jun 2005 14:02:29 +0000 (14:02 +0000)
src/gdcmjpegls/Decoder/decoder.c

index 16a88c00b4c274289ea16d5b741c5cc8ddb70bac..b3d19029d9d642f1b5cfd0f8fb17318d4088ece1 100644 (file)
@@ -1465,9 +1465,9 @@ int main (int argc, char *argv[]) {
 
 
   t1 = get_utime();
-  fprintf(msgfile,"Total bits  in: %ld  Symbols out: %ld  %5.3lf bps\n",
+  fprintf(msgfile,"Total bits  in: %ld  Symbols out: %ld  %5.3f bps\n",
            tot_in,tot_out,tot_in/(double)tot_out);
-  fprintf(msgfile,"Time = %1.3lf secs : %1.0lf KSymbols/sec\n",t1-t0,
+  fprintf(msgfile,"Time = %1.3f secs : %1.0f KSymbols/sec\n",t1-t0,
           (tot_out)/(1024*(t1-t0)));
 
   if ( found_EOF )