[Issue 5698] va_arg sets wrong length for (u)short[]

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 15 03:44:39 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5698



--- Comment #2 from Mathias Baumann <mathias.baumann at sociomantic.com> 2011-03-15 03:41:30 PDT ---
I am not 100% sure, no. But I just replaced the array declerations with

    ubyte uba[] = [ 32,33,34];
    uint a[] = [1,2,3];
    ushort c[] = [ cast(ushort)51, 52, 53 ];
    short sc[] = [ cast(short)51, 52, 53 ];


and it resulted in the same problem.
I hope initializing them like this does qualify them as dynamic arrays. (?)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list