cmd: fix int->pointer widening cast warning on MSVC
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <blue/core/queue.h>
|
||||
#include <blue/object/array.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#define b_arglist_foreach(it, q) \
|
||||
for (int z__b_unique_name() = b_arglist_iterator_begin( \
|
||||
@@ -114,8 +115,8 @@
|
||||
b_command_usage_add_arg( \
|
||||
this_usage, (struct b_command_arg *)B_COMMAND_INVALID_ID)
|
||||
|
||||
#define B_COMMAND_OPTION_HELP ((unsigned int)0xF0000001)
|
||||
#define B_COMMAND_INVALID_ID ((unsigned int)0xFFFFFFFF)
|
||||
#define B_COMMAND_OPTION_HELP ((uintptr_t)0xF0000001)
|
||||
#define B_COMMAND_INVALID_ID ((uintptr_t)0xFFFFFFFF)
|
||||
|
||||
typedef enum b_command_arg_value_count {
|
||||
B_ARG_0_OR_1_VALUES = -1,
|
||||
|
||||
Reference in New Issue
Block a user