>so that the two lines read: >> do{ *to = *from++; >> ... >> case 0: }while(--n>0); Please! Make that last line: case 0:; }while(--n>0); ^ | | note the semicolon