[Bugs] [Bug 1336510] New: posix: compiler warning format string
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 16 16:55:11 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1336510
Bug ID: 1336510
Summary: posix: compiler warning format string
Product: GlusterFS
Version: mainline
Component: posix
Assignee: bugs at gluster.org
Reporter: kkeithle at redhat.com
CC: bugs at gluster.org
Description of problem:
Making all in storage
Making all in posix
Making all in src
CC posix.lo
CC posix-aio.lo
CC posix-handle.lo
CC posix-helpers.lo
In file included from ../../../../libglusterfs/src/glusterfs.h:35:0,
from posix.c:38:
posix.c: In function 'posix_rchecksum':
posix.c:6366:33: warning: format '%ld' expects argument of type 'long int', but
argument 11 has type 'ssize_t {aka int}' [-Wformat=]
"pread of %d bytes returned %ld ",
^
../../../../libglusterfs/src/logging.h:213:51: note: in definition of macro
'gf_msg'
levl, errnum, 0, msgid, ##fmt); \
^~~
CCLD posix.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