SRD:Inflict Minor Wounds

When laying your hand upon a creature, you channel negative energy that deals 1 point of damage. A Will save negates the damage.

Since undead are powered by negative energy, this spell cures such a creature of a like amount of damage, rather than harming it.