diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2016-06-30 15:23:07 +0200 |
---|---|---|
committer | Lukas Slebodnik <lslebodn@redhat.com> | 2016-07-01 10:53:31 +0200 |
commit | 3e81e71124c75fd8709704e38561fa1f9d5bfbc2 (patch) | |
tree | 8a98a66294099eaa1448b29b1f2b8948f6588990 /src/util | |
parent | 8dbc62b09ce53ac079d0749712d05829ab3356c3 (diff) | |
download | sssd-3e81e71124c75fd8709704e38561fa1f9d5bfbc2.tar.gz sssd-3e81e71124c75fd8709704e38561fa1f9d5bfbc2.tar.xz sssd-3e81e71124c75fd8709704e38561fa1f9d5bfbc2.zip |
Secrets: Fix format string
body->length has type size_t and not long unsigned.
size_t does not have the same size on 64 bit and 32 bit platform
src/responder/secrets/providers.c: In function 'sec_http_reply_with_body':
src/responder/secrets/providers.c:204:25: error: format '%lu' expects argument
of type 'long unsigned int', but argument 6 has type
'size_t {aka unsigned int}' [-Werror=format=]
"HTTP/1.1 %d %s\r\n"
"Content-Type: %s\r\n"
"Content-Length: %lu\r\n"
^
Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions