Cast error to status_t when throwing, otherwise it won't be caught.

CID 1962


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37969 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2010-08-08 11:33:15 +00:00
parent 774d5b4dd9
commit e36d4dad06
+1 -1
View File
@@ -205,7 +205,7 @@ Parser::Parse(Header &header)
if (openBrackets == 0)
return B_OK;
throw B_ERROR;
throw (status_t)B_ERROR;
}
continue;
}