]> granicus.if.org Git - neomutt/commitdiff
change Command to use intptr_t
authorRichard Russon <rich@flatcap.org>
Mon, 15 Jul 2019 19:36:40 +0000 (20:36 +0100)
committerRichard Russon <rich@flatcap.org>
Mon, 15 Jul 2019 21:31:47 +0000 (22:31 +0100)
mutt_commands.h

index e1f451b90bdc46bdda67a20ea8cf76b87e682092..4009a0e892aa0ed84d656dc61f94d531612d6e17 100644 (file)
@@ -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);