Opened 3 years ago

Closed 3 years ago

#7172 closed defect (fixed)

SWORD25: Cast to pointer from integer of different size

Reported by: DrMcCoy Owned by: wjp
Priority: low Component: Engine: Sword25
Keywords: Cc:


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

Ticket imported from: bugs/7172.

Change History (2)

comment:1 by bluegr, 3 years ago

Component: Engine: Sword25

comment:2 by wjp, 3 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

Fixed by PR #894 in master.

Note: See TracTickets for help on using tickets.