libdvb5: Fix printf conversion modifier
authorGregor Jasny <gjasny@googlemail.com>
Tue, 14 Feb 2012 08:34:35 +0000 (09:34 +0100)
committerGregor Jasny <gjasny@googlemail.com>
Tue, 14 Feb 2012 19:42:44 +0000 (20:42 +0100)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
utils/dvb/descriptors.c

index 944c8a7..6fba632 100644 (file)
@@ -17,6 +17,7 @@
  * Or, point your browser to http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
  */
 
+#include <inttypes.h>
 #include <malloc.h>
 #include <stdio.h>
 
@@ -293,7 +294,7 @@ static void parse_NIT_ISDBT(struct nit_table *nit_table,
                add_frequency(nit_table, freq);
 
                if (verbose)
-                       printf("Frequency %ld\n", freq);
+                       printf("Frequency %" PRId64 "\n", freq);
        }
 }