shared_memory fixed warning.