Changes between Version 3 and Version 4 of DataTypesExample

Show
Ignore:
Author:
h3r3tic (IP: 158.75.81.43)
Timestamp:
03/02/06 05:59:36 (8 years ago)
Comment:

%u caused the program to crash, changed it to %d

Legend:

Unmodified
Added
Removed
Modified
  • DataTypesExample

    v3 v4  
    1616  // Show information about integer types... 
    1717  writefln("bit\tmin: %d\tmax: %d (%d)", bit.min, bit.max, bit.sizeof);   
    18   writefln("ubyte\tmin: %d\tmax: %u (%d)", ubyte.min, ubyte.max, ubyte.sizeof);   
    19   writefln("ushort\tmin: %d\tmax: %u (%d)", ushort.min, ushort.max, ushort.sizeof);   
    20   writefln("uint\tmin: %d\tmax: %u (%d)", uint.min, uint.max, uint.sizeof);   
     18  writefln("ubyte\tmin: %d\tmax: %d (%d)", ubyte.min, ubyte.max, ubyte.sizeof);   
     19  writefln("ushort\tmin: %d\tmax: %d (%d)", ushort.min, ushort.max, ushort.sizeof);   
     20  writefln("uint\tmin: %d\tmax: %d (%d)", uint.min, uint.max, uint.sizeof);   
    2121  writefln("ulong\tmin: %d\tmax: %d (%d)\n", ulong.min, ulong.max, ulong.sizeof);     
    2222  writefln("byte\tmin: %d\tmax: %d (%d)\n", byte.min, byte.max, byte.sizeof);