lib: Cast h->addr to char* in macro.

This is a fix for commit f8b62e4cd2f65cd712164c59094e81f2958aa000.