fixed Device to match data type for Dev size on Darwin

This will break on Linux.