From: Richard Russon Date: Mon, 15 Jul 2019 19:36:40 +0000 (+0100) Subject: change Command to use intptr_t X-Git-Tag: 2019-10-25~132^2~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2b8e97828bb0c09a2b1b85a7b52ac0a221fd3ad1;p=neomutt change Command to use intptr_t --- 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);