Opened 9 years ago

Closed 9 years ago

Last modified 12 months ago

#5341 closed defect (fixed)

AMIGAOS4: Overload in QuickTimeDecoder

Reported by: raziel- Owned by: wjp
Priority: normal Component: Port: AmigaOS4
Keywords: build Cc:
Game:

Description

ScummVM 1.2.0svn52592 (Sep 6 2010 15:35:43)
Features compiled in: Vorbis FLAC MP3 RGB zLib

AmigaOS4
gcc (GCC) 4.2.4 (adtools build 20090118)

C++ graphics/video/qt_decoder.o
graphics/video/qt_decoder.cpp: In member function 'uint32 Graphics::QuickTimeDecoder::getFrameDuration()':
graphics/video/qt_decoder.cpp:146: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
graphics/video/qt_decoder.cpp: In member function 'Graphics::Surface* Graphics::QuickTimeDecoder::scaleSurface(Graphics::Surface*)':
graphics/video/qt_decoder.cpp:250: error: ambiguous overload for 'operator*' in 'k * Graphics::QuickTimeDecoder::getScaleFactorX()'
graphics/video/qt_decoder.cpp:250: note: candidates are: operator*(int32, int) <built-in>
graphics/video/qt_decoder.cpp:250: note: operator*(int32, double) <built-in>
./common/rational.h:100: note: const Common::Rational Common::operator*(int, const Common::Rational&)
graphics/video/qt_decoder.cpp:250: error: ambiguous overload for 'operator*' in 'j * Graphics::QuickTimeDecoder::getScaleFactorY()'
graphics/video/qt_decoder.cpp:250: note: candidates are: operator*(int32, int) <built-in>
graphics/video/qt_decoder.cpp:250: note: operator*(int32, double) <built-in>
./common/rational.h:100: note: const Common::Rational Common::operator*(int, const Common::Rational&)
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readDefault(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:452: warning: format '%08x' expects type 'unsigned int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 5 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 6 has type 'uint32'
graphics/video/qt_decoder.cpp:452: warning: format '%x' expects type 'unsigned int', but argument 7 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readMVHD(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:587: warning: format '%i' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readELST(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:719: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSD(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:956: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:959: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSC(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:999: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp:999: warning: format '%i' expects type 'int', but argument 4 has type 'uint32'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSS(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1024: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1033: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1033: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTSZ(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1048: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1048: warning: format '%d' expects type 'int', but argument 4 has type 'uint32'
graphics/video/qt_decoder.cpp:1060: warning: format '%d' expects type 'int', but argument 3 has type 'uint32'
graphics/video/qt_decoder.cpp:1060: warning: format '%d' expects type 'int', but argument 4 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'int Graphics::QuickTimeDecoder::readSTTS(Graphics::QuickTimeDecoder::MOVatom)':
graphics/video/qt_decoder.cpp:1082: warning: format '%i' expects type 'int', but argument 3 has type 'long unsigned int'
graphics/video/qt_decoder.cpp: In member function 'Common::SeekableReadStream* Graphics::QuickTimeDecoder::getNextFramePacket()':
graphics/video/qt_decoder.cpp:1204: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
graphics/video/qt_decoder.cpp:1216: warning: format '%d' expects type 'int', but argument 2 has type 'int32'
gmake: *** [graphics/video/qt_decoder.o] Error 1

Ticket imported from: #3060981. Ticket imported from: bugs/5341.

Change History (3)

comment:1 by wjp, 9 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

comment:2 by wjp, 9 years ago

Thanks. Fixed by r52616.

comment:3 by digitall, 12 months ago

Component: Port: AmigaOS4
Note: See TracTickets for help on using tickets.