Oversight... foo->c2 = buf->c2[0]; Disclaimer: code written extemporaneously, and not compiled or tested. --Eljay