From 00304be252e091b4d5bafb18f1bf4466da9437c2 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 15 Nov 2014 17:45:17 +0100 Subject: 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 Reviewed-by: Simo Sorce --- proxy/src/gp_export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proxy') 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) { -- cgit