ultimo>>>=1; ----- syntax error : '>='
char *buf_tot; buf_tot[i]>>>=1; buf_tot[i]&=0x7f; buf_tot[i] |= 0x80;