From df19aba5e91d35bb50a3dd627c982739d21e895d Mon Sep 17 00:00:00 2001 From: PulkoMandy Date: Sat, 23 Feb 2019 18:24:17 +0100 Subject: [PATCH] debug_commands: align user_data to 64bits It is cast to a struct with 64bit fields, so it should be aligned properly. Change-Id: I513cfba4d8fc4f4286b13edabc47fbbda3227bf6 Reviewed-on: https://review.haiku-os.org/c/1089 Reviewed-by: waddlesplash --- src/system/kernel/debug/debug_commands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/debug/debug_commands.h b/src/system/kernel/debug/debug_commands.h index 4b521f50a6..52c15d10d7 100644 --- a/src/system/kernel/debug/debug_commands.h +++ b/src/system/kernel/debug/debug_commands.h @@ -27,7 +27,7 @@ typedef struct debugger_command_pipe_segment { int argc; char** argv; int32 invocations; - uint32 user_data[8]; // can be used by the command + uint64 user_data[4]; // can be used by the command } debugger_command_pipe_segment; typedef struct debugger_command_pipe {