Random Number Macro Fix

Assigning a value to a NULL pointer. This modifies an earlier fix for a
warning about type-punned values that GCC was emitting.