From 310440281524c76a75fdc4906c980ebbc37c9c1b Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Sun, 1 Jun 2008 02:36:47 +0000 Subject: [PATCH] gcc4 build fix. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25745 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/debug/debug_commands.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/debug/debug_commands.cpp b/src/system/kernel/debug/debug_commands.cpp index 414475c01c..65be1ee7ce 100644 --- a/src/system/kernel/debug/debug_commands.cpp +++ b/src/system/kernel/debug/debug_commands.cpp @@ -155,7 +155,7 @@ invoke_pipe_segment(debugger_command_pipe* pipe, int32 index, char* argument) // set debug output DebugOutputFilter* oldFilter = set_debug_output_filter( index == pipe->segment_count - 1 - ? &gDefaultDebugOutputFilter : &sPipeOutputFilters[index]); + ? &gDefaultDebugOutputFilter : (DebugOutputFilter*)&sPipeOutputFilters[index]); // set last command argument debugger_command_pipe_segment& segment = pipe->segments[index];