rem: temp->buffers[0] = new unsigned char [ecasound_fiommap_buffersize]; temp->buffers[1] = new unsigned char [ecasound_fiommap_buffersize];
add: temp->buffers[0] = new char [ecasound_fiommap_buffersize]; temp->buffers[1] = new char [ecasound_fiommap_buffersize];
context: void ecasound_fiommap_register_fd(int fd, long int length) {  //  cerr << "(eca-fileio-mmap-fthread) register_fd()\n";  ECA_RESOURCES ecasoundrc;  long bsize_temp = atol(ecasoundrc.resource("default-double-buffer-size").c_str());  if (bsize_temp > 0) ecasound_fiommap_buffersize = bsize_temp;  if (ecasound_fiommap_running == false) {    ecasound_fiommap_running = true;    pthread_mutex_init(&ecasound_fiommap_lock, NULL);    pthread_cond_init(&ecasound_fiommap_cond, NULL);    ecasound_fiommap_exec_thread();  }  ECASOUND_FIOMMAP_BUFFER* temp = new ECASOUND_FIOMMAP_BUFFER;  temp->buffers[0] = new unsigned char [ecasound_fiommap_buffersize];  temp->buffers[1] = new unsigned char [ecasound_fiommap_buffersize];  temp->ready_for_fill[0] = true;  temp->ready_for_fill[1] = true;  temp->fd = fd;  temp->file_length = length;  pthread_mutex_lock(&ecasound_fiommap_lock);  ecasound_fiommap_buffer.push_back(temp);  ecasound_fiommap_buffermap[fd] = temp;  pthread_mutex_unlock(&ecasound_fiommap_lock);  ecasound_fiommap_reset(fd, 0);}