[Bugs] [Bug 1336513] New: changelog: compiler warning format string

bugzilla at redhat.com bugzilla at redhat.com
Mon May 16 16:59:03 UTC 2016


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

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



Description of problem:

Making all in lib
Making all in src
  CC       libgfchangelog_la-gf-changelog-journal-handler.lo
  CC       libgfchangelog_la-gf-changelog.lo
  CC       libgfchangelog_la-gf-changelog-helpers.lo
  CC       libgfchangelog_la-gf-changelog-api.lo
  CC       libgfchangelog_la-gf-history-changelog.lo
  CC       libgfchangelog_la-gf-changelog-rpc.lo
  CC       libgfchangelog_la-gf-changelog-reborp.lo
  CC       libgfchangelog_la-changelog-rpc-common.lo
In file included from ../../../../../libglusterfs/src/glusterfs.h:35:0,
                 from
../../../../../xlators/features/changelog/src/changelog-misc.h:14,
                 from gf-changelog-reborp.c:11:
gf-changelog-reborp.c: In function 'gf_changelog_event_handler':
gf-changelog-reborp.c:365:23: warning: format '%ld' expects argument of type
'long int', but argument 15 has type 'size_t {aka unsigned int}' [-Wformat=]
                       "seq: %lu [%s] (time: %lu.%lu), (vec: %d, len: %ld)",
                       ^
../../../../../libglusterfs/src/logging.h:248:55: note: in definition of macro
'gf_msg_debug'
                         GF_LOG_DEBUG, errnum, 0, 0, ##fmt);             \
                                                       ^~~
  CCLD     libgfchangelog.la





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