[Bugs] [Bug 1336515] New: cli: compiler warning format string

bugzilla at redhat.com bugzilla at redhat.com
Mon May 16 17:05:32 UTC 2016


https://bugzilla.redhat.com/show_bug.cgi?id=1336515

            Bug ID: 1336515
           Summary: cli: compiler warning format string
           Product: GlusterFS
           Version: mainline
         Component: cli
          Assignee: bugs at gluster.org
          Reporter: kkeithle at redhat.com
                CC: bugs at gluster.org



Description of problem:


Making all in firewalld
Making all in cli
Making all in src
  CC       cli.o
  CC       registry.o
  CC       input.o
  CC       cli-cmd.o
  CC       cli-rl.o
  CC       cli-cmd-global.o
  CC       cli-cmd-volume.o
  CC       cli-cmd-peer.o
  CC       cli-rpc-ops.o
  CC       cli-cmd-parser.o
  CC       cli-cmd-system.o
cli-rpc-ops.c: In function 'cli_populate_req_dict_for_delete':
cli-rpc-ops.c:9815:55: warning: format '%lu' expects argument of type 'long
unsigned int', but argument 4 has type 'size_t {aka unsigned int}' [-Wformat=]
         ret = snprintf (key, sizeof (key), "snapname%lu", index);
                                                       ^
  CC       cli-cmd-misc.o
  CC       cli-xml-output.o
  CC       cli-quotad-client.o
  CC       cli-cmd-snapshot.o
  CCLD     gluster



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list