Opened 5 years ago

Closed 4 years ago

Last modified 16 months 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
Version: Keywords:
Cc: Game: Broken Sword 2.5


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 (3)

comment:1 by bluegr, 4 years ago

Component: Engine: Sword25

comment:2 by wjp, 4 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

Fixed by PR #894 in master.

comment:3 by Thunderforge, 16 months ago

Game: Broken Sword 2.5
Note: See TracTickets for help on using tickets.