Browse code

Use more portable 'PRId64' instead of 'llx' as conversion/length specifier. patch by Frank Barchard, fbarchard google com

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

Frank Barchard authored on 2009/07/01 00:11:51
Showing 1 changed files
... ...
@@ -129,7 +129,7 @@ int main(int argc, char *argv[])
129 129
             ftyp_atom_size = atom_size;
130 130
             ftyp_atom = malloc(ftyp_atom_size);
131 131
             if (!ftyp_atom) {
132
-                printf ("could not allocate 0x%llX byte for ftyp atom\n",
132
+                printf ("could not allocate 0x%"PRId64" byte for ftyp atom\n",
133 133
                         atom_size);
134 134
                 fclose(infile);
135 135
                 return 1;
... ...
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
170 170
     moov_atom_size = atom_size;
171 171
     moov_atom = malloc(moov_atom_size);
172 172
     if (!moov_atom) {
173
-        printf ("could not allocate 0x%llX byte for moov atom\n",
173
+        printf ("could not allocate 0x%"PRId64" byte for moov atom\n",
174 174
             atom_size);
175 175
         fclose(infile);
176 176
         return 1;