you can try memcpy(&yy, a, 4)
not sure the bytes will still mean what you want them to mean

awni