kdc: -Wcalloc-transposed args
warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args]. Swap the args.
This commit is contained in:
@@ -383,7 +383,7 @@ process_request(krb5_context context,
|
||||
unsigned int i;
|
||||
int claim = 0;
|
||||
|
||||
r = calloc(sizeof(*r), 1);
|
||||
r = calloc(1, sizeof(*r));
|
||||
if (!r)
|
||||
return krb5_enomem(context);
|
||||
|
||||
|
Reference in New Issue
Block a user