commit | 2307ff8499a7e7ab9aac889994c5838ac6ea1a34 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Fri Apr 16 11:51:18 2021 +0200 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Tue Apr 20 17:48:17 2021 +0200 |
tree | e0fa4c8c8fe2dd07a14a695f03b6b01acdd86654 | |
parent | 2104e07fe0e2f6237485417008849d7bbfe4bbe9 [diff] |
context MAINTENANCE redundant cast removed
diff --git a/src/context.c b/src/context.c index 8c889a1..6aa42c1 100644 --- a/src/context.c +++ b/src/context.c
@@ -566,7 +566,7 @@ { LY_CHECK_ARG_RET(ctx, ctx, index, NULL); - if (*index < (unsigned)ctx->list.count) { + if (*index < ctx->list.count) { return ctx->list.objs[(*index)++]; } else { return NULL;