0_0_24688614_24891.cpp: In function 'sam* new_sam(sam*)': 0_0_24688614_24891.cpp:53:44: error: invalid conversion from 'int' to 'sam*' [-fpermissive] else memset(p->ch, 0, sizeof(p->ch)), p->f = p->l = 0; ^