strchr(const char*, ...) returns const char* in C++, identified by gcc 4.4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30882 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -521,7 +521,7 @@ public:
|
|||||||
|
|
||||||
static string _GetPointerType(const char *type)
|
static string _GetPointerType(const char *type)
|
||||||
{
|
{
|
||||||
char *parenthesis = strchr(type, ')');
|
const char *parenthesis = strchr(type, ')');
|
||||||
if (!parenthesis)
|
if (!parenthesis)
|
||||||
return string(type) + "*";
|
return string(type) + "*";
|
||||||
// function pointer type
|
// function pointer type
|
||||||
|
|||||||
Reference in New Issue
Block a user