[ScummVM] #7172: SWORD25: Cast to pointer from integer of different size

ScummVM Trac trac at scummvm.org
Wed Aug 17 11:23:43 CEST 2016


#7172: SWORD25: Cast to pointer from integer of different size
--------------------+------------------------------
Reporter:  DrMcCoy  |       Owner:
    Type:  defect   |      Status:  new
Priority:  low      |   Component:  Engine: Sword25
 Version:           |  Resolution:
Keywords:           |        Game:
--------------------+------------------------------
Changes (by bluegr):

 * component:   => Engine: Sword25


Old description:

> {{{#!Markdown
> GCC's -Wint-to-pointer-cast (on amd64) complains about the casting of an
> integer value into a pointer type in two places within lua:
>
> - engines/sword25/util/lua_unpersist.cpp:121
> - engines/sword25/util/lua_unpersist.cpp:201
> }}}
> {{{#!div style="font-size: 75%"
> Ticket imported from: bugs/7172.
> }}}

New description:

 {{{#!Markdown
 GCC's -Wint-to-pointer-cast (on amd64) complains about the casting of an
 integer value into a pointer type in two places within lua:

 - engines/sword25/util/lua_unpersist.cpp:121
 - engines/sword25/util/lua_unpersist.cpp:201
 }}}
 {{{#!div style="font-size: 75%"
 Ticket imported from: bugs/7172.
 }}}

--

--
Ticket URL: <https://bugs.scummvm.org/ticket/7172#comment:1>
ScummVM <https://bugs.scummvm.org>
ScummVM




More information about the Scummvm-tracker mailing list