﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3717	StringFormat doesn't format int64 integers correctly	jchd18	Jon	"The code below returns invalid results due to %i, %d and %u specifiers being limited to 32-bit integers.
{{{
Local $b = [[""2^31-1"", 2^31-1], [""2^31  "", 2^31], [""2^32-1"", 2^32-1], [""2^32  "", 2^32], [""2^33  "", 2^33]], $s, $n

For $i = 0 To UBound($b) - 1
	$s = $b[$i][0]
	$n = $b[$i][1]
	ConsoleWrite(StringFormat(""%-14s%-6s%12i"", $s & ""  [%i]"", VarGetType($n), $n) & (StringFormat(""%i"", $n) = $n ? """" : ""  should be  "" & $b[$i][1]) & @LF)
	ConsoleWrite(StringFormat(""%-14s%-6s%12u"", $s & ""  [%u]"", VarGetType($n), $n) & (StringFormat(""%u"", $n) = $n ? """" : ""  should be  "" & $b[$i][1]) & @LF & @LF)
Next
}}}"	Bug	assigned		AutoIt	3.3.14.0	None			
