At the end of season 2 of Stardust Crusaders, the blood from Dio's corpse was transfused back to Joseph Joestar. However, as seen before in the series, the contact of Dio's blood with a corpse makes the corpse a Vampire. It was also explicitly stated that Dio's body was still not "dead". Then why did this not happen to Joseph?
Well, Joseph, from the moment of his birth has been filled with Hamon; Hamon is-well a vampire repellent. Think of vampirism as raw meat, and Hamon as a fire. Raw meat is bad, but after being purified, the meat is now safe. It also might be because of his Hamon infused blood that it wasn’t fully digested by DIO and therefore was easily taken back.