[Scummvm-tracker] [ScummVM] #7607: Silence (a few) warnings (for me)
David Turner
trac at scummvm.org
Thu Nov 8 11:31:15 CET 2018
#7607: Silence (a few) warnings (for me)
--------------------------+----------------------------
Reporter: raziel- | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Component: Port: AmigaOS4
Resolution: | Keywords:
Game: |
--------------------------+----------------------------
Changes (by digitall):
* component: => Port: AmigaOS4
Old description:
> {{{#!Markdown
> ScummVM 0.11.0svn \(Dec 16 2007 09:01:40\)
> Features compiled in: Vorbis FLAC MP3 zLib MPEG2
>
> Thanks to LordHoto for the initial fixes, i got alot
> of those in other enigines, too \(although i don't know
> if those can be easily adapted to other engines aswell\)
>
> \[22:20:44\] <LordHoto> well the problem is that your system
> defines int32 as signed long, which is perfectly valid, but printf would
> require %ld instead of %d for signed long
> \[22:21:05\] <LordHoto> but since other systems are using signed
> int instead of signed long, which would require just %d again, there's
> nothing that can be done about it
> \[22:21:24\] <CIA-36> lordhoto \* rb29864
> /scummvm/trunk/engines/kyra/ \(saveload\_v1.cpp screen.cpp staticres.cpp
> vqa.cpp\)n: debug\(C\) parameter type fixes.
> \[22:21:46\] <LordHoto> anyway my commit now should at least fix
> the ones complaing about "'%c' expects type 'int', but argument X has
> type 'long unsigned int'"
>
> Thanks for your effort to all the devs
> }}}
> {{{#!div style="font-size: 75%"
> Ticket imported from: !#1851741. Ticket imported from: feature-
> requests/423.
> }}}
New description:
{{{#!Markdown
ScummVM 0.11.0svn \(Dec 16 2007 09:01:40\)
Features compiled in: Vorbis FLAC MP3 zLib MPEG2
Thanks to LordHoto for the initial fixes, i got alot
of those in other enigines, too \(although i don't know
if those can be easily adapted to other engines aswell\)
\[22:20:44\] <LordHoto> well the problem is that your system defines
int32 as signed long, which is perfectly valid, but printf would require
%ld instead of %d for signed long
\[22:21:05\] <LordHoto> but since other systems are using signed int
instead of signed long, which would require just %d again, there's nothing
that can be done about it
\[22:21:24\] <CIA-36> lordhoto \* rb29864
/scummvm/trunk/engines/kyra/ \(saveload\_v1.cpp screen.cpp staticres.cpp
vqa.cpp\)n: debug\(C\) parameter type fixes.
\[22:21:46\] <LordHoto> anyway my commit now should at least fix the
ones complaing about "'%c' expects type 'int', but argument X has type
'long unsigned int'"
Thanks for your effort to all the devs
}}}
{{{#!div style="font-size: 75%"
Ticket imported from: !#1851741. Ticket imported from: feature-
requests/423.
}}}
--
--
Ticket URL: <https://bugs.scummvm.org/ticket/7607#comment:3>
ScummVM <https://bugs.scummvm.org>
ScummVM
More information about the Scummvm-tracker
mailing list