Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
authorFrank Barchard <fbarchard@google.com>
Tue, 30 Jun 2009 15:11:51 +0000 (15:11 +0000)
committerDiego Biurrun <diego@biurrun.de>
Tue, 30 Jun 2009 15:11:51 +0000 (15:11 +0000)
patch by Frank Barchard, fbarchard google com

Originally committed as revision 19309 to svn://svn.ffmpeg.org/ffmpeg/trunk

tools/qt-faststart.c

index 0ea9660..b1af21c 100644 (file)
@@ -129,7 +129,7 @@ int main(int argc, char *argv[])
             ftyp_atom_size = atom_size;
             ftyp_atom = malloc(ftyp_atom_size);
             if (!ftyp_atom) {
-                printf ("could not allocate 0x%llX byte for ftyp atom\n",
+                printf ("could not allocate 0x%"PRId64" byte for ftyp atom\n",
                         atom_size);
                 fclose(infile);
                 return 1;
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
     moov_atom_size = atom_size;
     moov_atom = malloc(moov_atom_size);
     if (!moov_atom) {
-        printf ("could not allocate 0x%llX byte for moov atom\n",
+        printf ("could not allocate 0x%"PRId64" byte for moov atom\n",
             atom_size);
         fclose(infile);
         return 1;