Modify

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#1067 closed Bug (No Bug)

Unsigned structure "uint64" work as signed "int64"

Reported by: amel27 Owned by:
Milestone: Component: AutoIt
Version: 3.3.0.0 Severity: None
Keywords: uint64 Cc:

Description

$t1 = DllStructCreate("uint;uint")
$t2 = DllStructCreate("uint64", DllStructGetPtr($t1))

DllStructSetData($t1, 1, -1)
DllStructSetData($t1, 2, -1)

ConsoleWrite(DllStructGetData($t1, 1) &@CRLF)
ConsoleWrite(DllStructGetData($t1, 2) &@CRLF)
ConsoleWrite(DllStructGetData($t2, 1) &@CRLF)

Attachments (0)

Change History (4)

comment:1 by Valik, 17 years ago

Resolution: No Bug
Status: newclosed

AutoIt only displays signed numbers. It does not display unsigned numbers. It is not a bug.

comment:2 by amel27, 17 years ago

Thanks for comment. Is it right only fo 64-bit numbers?.. 32-bit unsigned display correctly!

in reply to:  2 comment:3 by Valik, 17 years ago

Replying to amel27:

Thanks for comment. Is it right only fo 64-bit numbers?.. 32-bit unsigned display correctly!

32-bit unsigned are being displayed as 64-bit signed.

comment:4 by amel27, 17 years ago

I understand, Thx!

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.