ligzy / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

Compiler warnings #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile revision r372.
2. Watch for warnings.

What is the expected output? What do you see instead?

../src/cmeta.cpp: In function 'bool MP4ItmfAddItem(void*, const MP4ItmfItem*)':
../src/cmeta.cpp:595: warning: converting to non-pointer type 'bool' from NULL
../src/cmeta.cpp: In function 'bool MP4ItmfSetItem(void*, const MP4ItmfItem*)':
../src/cmeta.cpp:614: warning: converting to non-pointer type 'bool' from NULL
../src/cmeta.cpp: In function 'bool MP4ItmfRemoveItem(void*, const
MP4ItmfItem*)':
../src/cmeta.cpp:633: warning: converting to non-pointer type 'bool' from NULL

../util/mp4chaps.cpp: In member function ‘bool
mp4v2::util::ChapterUtility::actionEvery(mp4v2::util::Utility::JobContext&)’:
../util/mp4chaps.cpp:309: warning: format ‘%lu’ expects type ‘long 
unsigned
int’, but argument 3 has type ‘unsigned int’
../util/mp4chaps.cpp: In member function ‘bool
mp4v2::util::ChapterUtility::actionImport(mp4v2::util::Utility::JobContext&)’:
../util/mp4chaps.cpp:534: warning: converting to ‘uint64_t’ from ‘const 
double’
../util/mp4chaps.cpp:540: warning: converting to ‘uint64_t’ from 
‘double’

What version of the product are you using? On what operating system?

Revision r372, Fedora 8.

A patch to correct the issues is attached.

Original issue reported on code.google.com by kevin.ru...@gmail.com on 28 Jan 2010 at 4:05

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch--this should be fixed in 376.

Original comment by kid...@gmail.com on 3 Apr 2010 at 11:58