Patch by Blub\0: fix bfs build with DEBUG defined on gcc4.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32168 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1272,7 +1272,7 @@ Operator::PrintToStream()
|
|||||||
if (fLeft != NULL)
|
if (fLeft != NULL)
|
||||||
fLeft->PrintToStream();
|
fLeft->PrintToStream();
|
||||||
|
|
||||||
char* op;
|
const char* op;
|
||||||
switch (fOp) {
|
switch (fOp) {
|
||||||
case OP_OR: op = "OR"; break;
|
case OP_OR: op = "OR"; break;
|
||||||
case OP_AND: op = "AND"; break;
|
case OP_AND: op = "AND"; break;
|
||||||
@@ -1290,7 +1290,7 @@ Operator::PrintToStream()
|
|||||||
void
|
void
|
||||||
Equation::PrintToStream()
|
Equation::PrintToStream()
|
||||||
{
|
{
|
||||||
char* symbol = "???";
|
const char* symbol = "???";
|
||||||
switch (fOp) {
|
switch (fOp) {
|
||||||
case OP_EQUAL: symbol = "=="; break;
|
case OP_EQUAL: symbol = "=="; break;
|
||||||
case OP_UNEQUAL: symbol = "!="; break;
|
case OP_UNEQUAL: symbol = "!="; break;
|
||||||
|
|||||||
Reference in New Issue
Block a user