diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-11-15 17:45:17 +0100 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-01-15 13:30:37 -0500 |
commit | 00304be252e091b4d5bafb18f1bf4466da9437c2 (patch) | |
tree | 30b3a8eb386cef05a9d60f2c628c823989227e39 | |
parent | 457f1fcaee81731a631559d07703db15528c84bc (diff) | |
download | gss-proxy-00304be252e091b4d5bafb18f1bf4466da9437c2.tar.gz gss-proxy-00304be252e091b4d5bafb18f1bf4466da9437c2.tar.xz gss-proxy-00304be252e091b4d5bafb18f1bf4466da9437c2.zip |
Suppress clang warning
Result of 'malloc' is converted to a pointer of type 'uint32_t', which is
incompatible with sizeof operand type 'int32_t'
Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | proxy/src/gp_export.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proxy/src/gp_export.c b/proxy/src/gp_export.c index 3cd5148..a066ae4 100644 --- a/proxy/src/gp_export.c +++ b/proxy/src/gp_export.c @@ -699,7 +699,7 @@ int gp_get_export_creds_type(struct gssx_call_ctx *ctx) } #define CREDS_BUF_MAX (NGROUPS_MAX * sizeof(int32_t)) -#define CREDS_HDR (3 * sizeof(int32_t)) /* uid, gid, count */ +#define CREDS_HDR (3 * sizeof(uint32_t)) /* uid, gid, count */ static uint32_t gp_export_creds_enoent(uint32_t *min, gss_buffer_t buf) { |