]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/mathematics.c
Proper check for --help and -h parameters
[ffmpeg] / libavutil / mathematics.c
index c43c64ba2139517a756d49c2513cca6f5f2388b8..4be027d9da2adf194fe5b6b5ba2d3a49fdc4724c 100644 (file)
@@ -131,7 +131,7 @@ main(){
                 if((double)a * (double)b / (double)c > (1LL<<63))
                     continue;
 
-                if(d!=e) printf("%Ld*%Ld/%Ld= %Ld=%Ld\n", a, b, c, d, e);
+                if(d!=e) printf("%"PRId64"*%"PRId64"/%"PRId64"= %"PRId64"=%"PRId64"\n", a, b, c, d, e);
             }
         }
     }