OpenTTD

Tasklist

FS#97 - Possible bug in Win64 versions

Attached to Project: OpenTTD
Opened by Michael Lutz (michi_cc) - Monday, 03 April 2006, 11:09 GMT
Last edited by KUDr (KUDr) - Tuesday, 18 April 2006, 18:14 GMT
Type Patch
Category Core
Status Closed
Assigned To KUDr (KUDr)
Operating System Windows
Severity Medium
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

This patch solves a possible sources of data corruption or crashes due to pointer truncation. No actual bug reports seen so far, but certain input parameters could trigger a bug here.

Shouldn't have any negative effect on other targets.
This task depends upon

Closed by  KUDr (KUDr)
Tuesday, 18 April 2006, 18:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  r4470 /trunk/
Comment by Michael Lutz (michi_cc) - Thursday, 06 April 2006, 18:28 GMT
Patch now uses ptrdiff_t for the cast, as that's the official type for offsets. Works even with MSVC6 as it seems.
Comment by KUDr (KUDr) - Tuesday, 18 April 2006, 18:13 GMT
Commit: r4470 /trunk/

Loading...