Opened 8 years ago

Closed 8 years ago

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

Description

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, 8 years ago

Component: Engine: Sword25

comment:2 by wjp, 8 years ago

Owner: set to wjp
Resolution: fixed
Status: newclosed

Fixed by PR #894 in master.

comment:3 by Thunderforge, 5 years ago

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