Resolved silly compiler warnings about memcpy