David Rankin made a half century for the Warriors