Change seed to int

The type of the seed is changed to int since std.conv.to won't work
anymore with Nullable.