gcc4 build fix.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25745 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2008-06-01 02:36:47 +00:00
parent 73aa393d73
commit 3104402815

View File

@ -155,7 +155,7 @@ invoke_pipe_segment(debugger_command_pipe* pipe, int32 index, char* argument)
// set debug output // set debug output
DebugOutputFilter* oldFilter = set_debug_output_filter( DebugOutputFilter* oldFilter = set_debug_output_filter(
index == pipe->segment_count - 1 index == pipe->segment_count - 1
? &gDefaultDebugOutputFilter : &sPipeOutputFilters[index]); ? &gDefaultDebugOutputFilter : (DebugOutputFilter*)&sPipeOutputFilters[index]);
// set last command argument // set last command argument
debugger_command_pipe_segment& segment = pipe->segments[index]; debugger_command_pipe_segment& segment = pipe->segments[index];