Use correct types in millisleep().
Change error code in fifo.exp.