char * helpId = DTMAILHELPERROR;
int answer = dialog->post_and_return(helpId);
SafeClose(fd);
- delete [] mbuf.buffer;
+ delete (char*) mbuf.buffer;
free(fullpath);
return;
}
if (SafeRead(fd, mbuf.buffer,
(unsigned int) buf.st_size) != buf.st_size) {
- delete [] mbuf.buffer;
+ delete (char*) mbuf.buffer;
close(fd);
return msg;
}
helpId = DTMAILHELPCORRUPTVACATION;
answer = dialog->post_and_return(helpId);
SafeClose(fd);
- delete [] mbuf.buffer;
+ delete (char*) mbuf.buffer;
_subject = NULL;
_body = NULL;
bufPtr += mbufList[ii].size;
bufPtr[0] = '\n';
bufPtr++;
- delete mbufList[ii].buffer;
+ delete (char*)mbufList[ii].buffer;
}
XtFree((char *)mbufList);
{
void * new_region = new unsigned char[new_size];
if (new_region) {
- memcpy(new_region, old_region, old_size);
+ memcpy(new_region, old_region, old_size);
}
- delete old_region;
+ delete (unsigned char*) old_region;
return(new_region);
}