mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
virsh, daemon: prefer unsigned flags
* tools/virsh.c (vshCmdDef): Change flags type. * daemon/remote.c (remoteDispatchOpen): Likewise.
This commit is contained in:
parent
4ba3faac2c
commit
0983905c5a
@ -443,7 +443,7 @@ remoteDispatchOpen(virNetServerPtr server ATTRIBUTE_UNUSED,
|
||||
struct remote_open_args *args)
|
||||
{
|
||||
const char *name;
|
||||
int flags;
|
||||
unsigned int flags;
|
||||
struct daemonClientPrivate *priv = virNetServerClientGetPrivateData(client);
|
||||
int rv = -1;
|
||||
|
||||
|
@ -201,7 +201,7 @@ typedef struct {
|
||||
bool (*handler) (vshControl *, const vshCmd *); /* command handler */
|
||||
const vshCmdOptDef *opts; /* definition of command options */
|
||||
const vshCmdInfo *info; /* details about command */
|
||||
int flags; /* bitwise OR of VSH_CMD_FLAG */
|
||||
unsigned int flags; /* bitwise OR of VSH_CMD_FLAG */
|
||||
} vshCmdDef;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user