gcc 3 fixes

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shadow303
2003-08-04 00:46:53 +00:00
parent 72f334d12f
commit 17e6de7a37
33 changed files with 112 additions and 109 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ void BApplication::DispatchMessage(BMessage* message, BHandler* handler)
const char *arg = NULL;
error = message->FindString("argv", i, &arg);
if (error == B_OK && arg) {
argv[i] = new(nothrow) char[strlen(arg) + 1];
argv[i] = new(std::nothrow) char[strlen(arg) + 1];
if (argv[i])
strcpy(argv[i], arg);
else