Modify ↓
#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 , 17 years ago
| Resolution: | → No Bug |
|---|---|
| Status: | new → closed |
follow-up: 3 comment:2 by , 17 years ago
Thanks for comment. Is it right only fo 64-bit numbers?.. 32-bit unsigned display correctly!
comment:3 by , 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.
Note:
See TracTickets
for help on using tickets.

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