PR# 19213 [ER] Wrong type cast in WEL_HD_NOTIFY.cwel_hd_notify_get_p_item

Problem Report Summary
Submitter: axarosenberg
Category: WEL
Priority: High
Date: 2016/04/12
Class: Bug
Severity: Critical
Number: 19213
Release: 15.12.9.8497
Confidential: No
Status: Closed
Responsible:
Environment: Windows Server 2012
Synopsis: [ER] Wrong type cast in WEL_HD_NOTIFY.cwel_hd_notify_get_p_item

Description
Here is the text of the routine:

	cwel_hd_notify_get_p_item (ptr: POINTER): POINTER
		external
			"C [macro %"hd_notify.h%"] (HD_NOTIFY*): EIF_INTEGER"
		end

The type cast of the return type should be EIF_POINTER.

This code is crashing when compiled with the Gobo compiler because this compiler trusts the code above and does a type cast to EIF_INTEGER, which is wrong on a 64-bit computer where EIF_INTEGER is mapped on 32 bits whereas EIF_POINTER is mapped on 64 bits.

--
Eric Bezault
To Reproduce

										
Problem Report Interactions
From:axarosenberg    Date:2016/04/13    Status: Closed    Download   
And I received an email with my previous note...
Why do we receive email for our own "actions", but not for those done by ISE people?

--
Eric Bezault

From:axarosenberg    Date:2016/04/13    Status: Closed    Download   
I don't know why, but I didn't receive an email with the last closing note from Alexander. Is there some config problem on the new support site?
Note that I received an email when I created the bug report though.

--
Eric Bezault

From:alexk_es    Date:2016/04/12    Status: Closed    Download   
Thank you for the report. The bug is fixed in rev#98615 of EiffelStudio 16.05 intermediate release.