From 2b8e97828bb0c09a2b1b85a7b52ac0a221fd3ad1 Mon Sep 17 00:00:00 2001 From: Richard Russon Date: Mon, 15 Jul 2019 20:36:40 +0100 Subject: [PATCH] change Command to use intptr_t --- mutt_commands.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mutt_commands.h b/mutt_commands.h index e1f451b90..4009a0e89 100644 --- a/mutt_commands.h +++ b/mutt_commands.h @@ -51,9 +51,9 @@ typedef enum CommandResult (*command_t)(struct Buffer *buf, struct Buffer *s, un */ struct Command { - const char *name; /**< Name of the command */ - command_t func; /**< Function to parse the command */ - unsigned long data; /**< Data or flags to pass to the command */ + const char *name; ///< Name of the command + command_t func; ///< Function to parse the command + intptr_t data; ///< Data or flags to pass to the command }; const struct Command *mutt_command_get(const char *s); -- 2.49.0